cannot schedule task through terminal service

  • Thread starter Thread starter bryan
  • Start date Start date
B

bryan

Through a terminal service session on a server I am
trying to run a scheduled task that runs a batch file
Everytime I try to run the task (through the terminal
server session) it fails, but If I go to the server
through vnc and run the task it runs fine. The user
profile I am using has local admin rights on this server.
Is this a known problem?
 
Yes.
When you schedule the task in a rdp session and then logoff, the task
will not run.
You need to connect to the console session (=session 0) to be able to
do this.

Connecting to the console session is only possible with a 2003 TS,
and is done with: mstsc /console.
 
Back
Top