D
denouement23
Hello,
We am trying to force a W2K server to run a user defined script at
each shutdown. This script will gracefully shutdown some of our third
party services before the OS shuts down. We found some GPO objects
and tested them but did not get the desired results:
Computer Configuration - Windows Settings - Scripts (Startup/Shutdown)
does execute the script, but it shuts down all services (or at least
the services which we're working around in the script) before it
executes the script - so when the script runs trying to shut down the
services gracefully, there's already nothing to work on.
User Configuration - Windows Settings - Scripts (Logon/Logoff) does
execute the script and shuts down components correctly, but does it at
each log-off - so when anyone logs on to production machine and then
logs off, the services get shutdown and that is not what we want.
Any ideas how can we force Windows to run our script first?
Thanks in advance!
We am trying to force a W2K server to run a user defined script at
each shutdown. This script will gracefully shutdown some of our third
party services before the OS shuts down. We found some GPO objects
and tested them but did not get the desired results:
Computer Configuration - Windows Settings - Scripts (Startup/Shutdown)
does execute the script, but it shuts down all services (or at least
the services which we're working around in the script) before it
executes the script - so when the script runs trying to shut down the
services gracefully, there's already nothing to work on.
User Configuration - Windows Settings - Scripts (Logon/Logoff) does
execute the script and shuts down components correctly, but does it at
each log-off - so when anyone logs on to production machine and then
logs off, the services get shutdown and that is not what we want.
Any ideas how can we force Windows to run our script first?
Thanks in advance!