Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Shutdown scripts not running

$
0
0

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?

Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>