How to add a shutdown script (not by using gpedit.msc or active directory)?

Posted by Francis on Server Fault See other posts from Server Fault or by Francis
Published on 2012-04-06T18:16:22Z Indexed on 2012/04/11 17:31 UTC
Read the original article Hit count: 264

Filed under:
|
|
|

I have created a script I want to deploy on my XP workstations as a shutdown script. I know I can add my script as a shutdown script with the UI (gpedit.msc), but I want to automate the deployment of my script. My workstations are not part of a Windows domain. I will deploy with OCS Inventory.

I tried to add entries to the Windows registry, but this doesn't work. I don't see what I added when I run gpedit.msc. If I add something with gpedit.msc, this seem to overwrite what I added manually into the registry.

© Server Fault or respective owner

Related posts about Windows

Related posts about windows-xp