Vista Task Scheduler will not run shutdown.exe
Posted on 2008-10-23
Task Scheduler (ts from here on out) will not run the shutdown.exe command. Shutdown.exe and all tags work fine from command line. Set permissions on shutdown.exe to allow everyone full permission. Tried domain and local PC admin rights on the task. When using just 'shutdown', ts says it has completed the task, but no shutdown occurs. When using tags such as logoff, /L, ts gives the following error: 0x1. Following options are selected in the task setup:
Run whether user is logged in or not
Run with highest privileges
Allow task to be run on demand
No 'Conditions' are applied
I tested ts with a task of cmd. It opened a window just fine. I have tried using multiple logins, multiple permission sets. I simply will not run the shutdown.exe command from the Task Scheduler.