Start scheduled task on Windows 2008

Hi

We have Fb project which action of run scheduled task on remote machine. It worked fine with Windows 2003 on remote machine. We changed machine to 2008 and script failes with error like There is no scheduled task with name XXX on remote machine when task is defined.

Is it nown issue of Windows 2008?

Thanks

 

I’m not able to reproduce this here. The action just calls the windows schtasks.exe, doesn’t do anything fancy. I tested from a windows 7 x64 machine talking to a 2008 x64 machine :

Command line : schtasks /Run /S colossus /U office\vincent /P ***** /TN test
Executing external process: C:\Windows\system32\schtasks.exe
Starting Directory: C:\Windows\system32\
Parameters: /Run /S colossus /U office\vincent /P **** /TN test
Output from C:\Windows\system32\schtasks.exe
SUCCESS: Attempted to run the scheduled task “test”.


Try running the command from a command window… my guess is permissions, perhaps the user does not have the right to start the task (sorry no idea what permissions are needed).