On an XP Pro box, using gpedit.msc I set up a shutdown script to log something over the network. However, the script was failing, and after some research, it appears that the network is practically the first thing to go while shutting down.
Because there will always be a user logged in when the box shuts down (it runs a daemon that cannot be configured as a service), I tried making it a logoff script - and it worked!
My dilemma is this: is there ever a time when XP Pro does not run these logoff scripts when the machine is going down (aside, obviously, from a total crash)? Is there a better way to ensure that a certain action is taken for every shutdown?
Thanks in advance!