When a user shuts down normally via the Start menu on a domain joined computer, what happens first, a) attempt to close apps running in the background or b) disconnect from the server?
The reason I ask is that we run a small portable app on a server share when the user logs in.
On shutdown, normal behavior by all but a tiny number of users is that the app terminates silently (it intercepts the Windows shutdown signal and ends) and the PC shutdown continues normally.
For a few, it's obvious to me that the network connection is terminated and Windows throws a message box with 0xc00000c4, STATUS_UNEXPECTED_NETWORK_ERROR, because the app can't shut itself down as it "doesn't exist", as it sees it.
So, it there a set sequence of events, or is it, um, who knows what and when in which order?