Hi all,
I want to execute a program at shutdown and I have added a small batch file to the local group policy editor - see the attached screenshot. What the batch file does is fairly simple, it sends a shut down signal to my wireless Xbox 360 controller. Double-clicking the batch file turns the controller off just fine so I know it works. When I add the batch file to the policy editor, the batch file is executed and the controller is turned off. However, when I shut down the computer, the controller does not turn itself off and I need to remove the batteries.
I would like to learn if there is a difference in the way shutdown scripts are executed at computer shutdown or restart. Also, is it possible to see whether this batch file was executed in the event logs?
Running Windows 8 Professional 64 bit
Thanks!
Fehmi
I want to execute a program at shutdown and I have added a small batch file to the local group policy editor - see the attached screenshot. What the batch file does is fairly simple, it sends a shut down signal to my wireless Xbox 360 controller. Double-clicking the batch file turns the controller off just fine so I know it works. When I add the batch file to the policy editor, the batch file is executed and the controller is turned off. However, when I shut down the computer, the controller does not turn itself off and I need to remove the batteries.
I would like to learn if there is a difference in the way shutdown scripts are executed at computer shutdown or restart. Also, is it possible to see whether this batch file was executed in the event logs?
Running Windows 8 Professional 64 bit
Thanks!
Fehmi