I have a shut down script in rc0.d to rc5.d which just calls other custom scripts/programs that need to start with the server. Then I have a custom shutdown script that does any shut down proceedures ...
If the GPO Startup Script is not running, then this post may help. A Group Policy Object (GPO) Startup Script refers to a script or batch file configured to run automatically when a computer boots ...
If you want to run Windows PowerShell scripts first at user logon, logoff, startup, and shutdown, follow these steps. Using the Local Group Policy Editor and Registry Editor, you can prioritize ...