Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SchTasks.exe and passwords
Message
From
06/12/2005 12:21:54
 
General information
Forum:
Windows
Category:
Security
Miscellaneous
Thread ID:
01075351
Message ID:
01075398
Views:
24
I do not get any erros. Just when the tasks fires, its status reports "Could Not Run". And, if I check on the properties, and refill in the password, the tasks works as expected. This is why I suppect that the password from the command line is either not being applied, or is wrongfully applied.

>The command line seems fine to me. Do you get an error or what?
>
>>
>>I am current attempt to automate the Scheduled Task feature of the OS using the XP SchTasks.exe application. When I include the UserName (/RU switch) and the Paqssword (/RP switch) the password does not get applied to the Schedule task.
>>
>>Here is a example of the command line code that is being executed (the password is not the real one.)
>>
>
>>C:\WINDOWS\System32\SchTasks.exe /Create /tn lcb_30063662 /tr "C:\PROGRA~1\MIE6FC~1\vfp8.exe C:\DOCUME~1\GREGOR~1.REI\MYDOCU~1\VISUAL~2\LIFECY~2\lcBuild.App C:\DOCUME~1\GREGOR~1.REI\MYDOCU~1\VISUAL~2\LIFECY~2\EXAMPLE\Accounting.PJX scan_document Quit" /SC ONCE /st 12:00:00 /ru QUALIFACTS\gregory.reichert /rp Test1234
>>
>>Am I missing something, or formatting the line incorrectly.
>>
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform