We help IT Professionals succeed at work.

running psexec scheduled task windows 2008

On one of our windows 2003 servers, I run a scheduled task called 'CCSUBMIT_LIVE'  below in psexec to launch directly on that server.  How is that done in windows 2008 since the scheduled tasks in server 2008 are completely different and I suspect need to launch differently?

psexec -u loginname -p loginpassword \\server\ schtasks /run /tn CCSUBMIT_LIVE
Comment
Watch Question

End-user support
Commented:
The schtasks options looks the same in 2008 as what you show. Have you tried running it?
Do you mean how to put the commands into a task, i.e. Action? If so...
SchTaskAction.png

Author

Commented:
Yep, that was my bad.  The issue was the job was disabled and apparently disabled jobs cannot be launched.  I have found in Windows 2008 the only way is to enable it as Task Scheduler won't even let you run it through the GUI if it's disabled.
NVITEnd-user support

Commented:
So, you're good to go?

Author

Commented:
yes, thanks.
NVITEnd-user support

Commented:
Thanks for the updaat, ibgadmin. Have a good day.