UserID while copying a Scheduled Task to remote machine
Hi, I create a scheduled task using schtasks.exe to run under SYSTEM account. I then copy it to a remote machine using xcopy command. On copying the run as user for the task at remote machine changes to my userid instead of the SYSTEM. How can I make the task copied to remote machine run as SYSTEM.Chaitanya
June 2nd, 2010 1:54pm

Under which account do you run the task? Post us a picture from the task inside your task scheduler."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2010 3:59pm

It is impossible. Because on computer A you configure the task to run with the account “computerA\SYSTEM”. After you copy it to another computer you need to run it with “computerB\SYSTEM”. The User IDs are different.Arthur Xie - MSFT
June 4th, 2010 9:08am

Hi, I dint find a way to change the userId after copying. But I found an alternative to create the scheduled task at remote machine itself using the tool "psexec.exe". This tool executes the cmd command at the remote machine directly. This tool solved my issue, now that I am executing the schtasks command at the remote machine itself it created the task with remote machine's SYSTEM id. Thanks for the replies.Chaitanya
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2010 1:19pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics