0

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.

Nixphoe
  • 4,584
  • 7
  • 34
  • 52

1 Answers1

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.

Olivier S
  • 2,739
  • 1
  • 14
  • 14