Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a network with multiple systems with windows XP. My aim to schedule a system shutdown at a specific time, but i don,t want everybody to set it manually. Just a click on the .cmd file i will be sending them shall do the needful.

For this i tried to prepare a .bat file with following command

shutdown -s -f -t 0 -c "Go Green"

Now i want to include this in the task scheduler, with the following command: SCHTASKS /CREATE /SC weekly /D MON,TUE,WED,THU,FRI /TN Kill /ST 11:04:00 /TR "C:\Users...."

The task is not running at all. Please help with your suggestions.

share|improve this question
are you certain that the file to execute "C:\Users.." exists on every computer? – Olivier S Dec 8 '11 at 7:00

Your users need the "shutdown privilege" local and remote, and the file "C:\Users.." must exists on each computer. There is an answer in stackoverflow about this and on an other q&a site, both explain how to set the privileges in gpedit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.