Shutdown scripts not running

I made an OU called test under domain comptuers and moved my computer there. I mapped a gp policy called testShutdownScript to the OU and editted it so that it applied to domain computers. I went under computer configuration>policies>windows settings>scripts>shutdown and added my script that is as follows:

cd "c:\"
echo "Test" > test.txt
exit
I ran gpupdate on my pc and shut it down. The text file never generated leading me to believe the script never ran. How can I be sure it didnt run and is there something I missed in setting up the policy?
June 27th, 2013 5:12pm

Hi,

I would like to confirm that did you follow the below article to set your shutdown script policy:

To assign computer shutdown scripts

http://technet.microsoft.com/en-us/library/cc783802(v=ws.10).aspx

Make sure that the script is placed under the below path:

\\domain.com\sysvol\domain.com\{xxxx-guid-xxxx}\computers\scripts

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2013 10:40am

I followed the steps on the article prior to posting here but ran through them again to be 100% certain I didnt make a mistake the first time. I also moved my script from a network share to the directory you specified. I will update group policy on my machine, shutdown, and notify you of the results.
July 2nd, 2013 12:27pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics