I fear that creating a scheduled job running running as another user is not possible at all. See the WMI class definition:
class Win32_ScheduledJob : CIM_Job
{
string Caption;
string Command;
uint32 DaysOfMonth;
uint32 DaysOfWeek;
string Description;
datetime ElapsedTime;
datetime InstallDate;
boolean InteractWithDesktop;
uint32 JobId;
string JobStatus;
string Name;
string Notify;
string Owner;
uint32 Priority;
boolean RunRepeatedly;
datetime StartTime;
string Status;
datetime TimeSubmitted;
datetime UntilTime;
};
There is no parameter like RunAs and neither a password can be specified. The only way I see this being done is using the TaskScheduler library.
Also read this:
http://msdn.microsoft.com/en-us/library/aa394399(v=VS.85).aspx
In the very first sentence of that page you're told that WMI job scheduling works the same as AT command. Using AT command it's also
impossible to specify a user account & password.
Cheers
Manfred