I have a problem, every few days my company restarts my workstation, and I keep losing work because of this. I opened a support ticket with the support team, but they have no idea how to stop it from happening (typical).
I know that they're not using the shutdown command to restart my PC, because running shutdown -a doesn't stop it from happening.
I was thinking maybe someone has made a "keep alive" app to stop anything from restarting my workstation, so that I can restart it myself when I'm ready to do so (i.e. after I've saved my work, etc). Because of the work I do (I'm a programmer) it's not always possible to save what I'm doing (e.g. if I'm in the middle of debugging something complicated).
Maybe I can intercept and block some sort of shutdown message in the winapi (though this discussion would me more suited to Stack Overflow).