Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
are you certain that the file to execute "C:\Users.." exists on every computer? –  Olivier S Dec 8 '11 at 7:00
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.