interactive scheduled task not working for user SYSTEM
I created a new scheduled task with the following command:
schtasks /create /ru system /sc once /st 09:11 /tn test1 /tr cmd.exe /it
The task gets started at the correct time using the user context SYSTEM (I can see this in task manager) but there is no new window created. I am using the console session, not a remote terminal.
How can I start a command window using the user context SYSTEM in Windows 7?
August 17th, 2010 10:28am
You see the impact of session 0 isolation. The SYSTEM is session 0, your user is session 1, so you can't see it."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
August 17th, 2010 3:55pm
Thanks for the explanation Andre.
From what I have (quickly) read on session 0 isolation, it applies mainly to services. I just want to start a command window using the user context SYSTEM? Is that possible and if so how?
August 17th, 2010 4:10pm
I just want to start a command window using the user context SYSTEM? Is that possible and if so how?
This is possible with psexec from Sysinternals:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
use the -s command line parameter:
-s Run remote process in the System account."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
August 18th, 2010 1:46am
That's it! - thank you Andre
August 18th, 2010 2:58pm
you're welcome :)"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
August 19th, 2010 2:19am