* goto run type gpedit
* goto Computer configuration->windows setting->scripts.( it opens this window.)
* to add a script double click on shutdown
* click add button in this new window and locate your program.
* There are corresponding folders for Startup, User\Scripts\Logon and User\Scripts\Logoff
Scripts or programs may be located anywhere on the computer but a convenient location for scripts is provided by the folder
C:\WINDOWS\System32\GroupPolicy\Machine\Scripts\Shutdown
0 comments