You can have a [shutdown] section in group policy which specifies some scripts to run during system shutdown. Do all these scripts run before Windows services start receiving 'Preshutdown' notifications (if they registered for those) or get 'Stop'-ped (if they didn't register for preshutdown)?
I just need to understand what order these things happen in, so I can figure out whether group policy shutdown scripts can take dependencies on Windows Services being available, etc. However its tough finding anything which actually discusses both of these subjects in one go!