Hi, I'm trying to abort a started shutdown via start>>"Shut Down" on Windows 7 with but I can't find a solution. It's simple to abort a timed-out shutdown thanks to "shutdown -a" or "AbortSystemShutdown" because (I think) that function only interrupt the timeout. I've written this simple script (looking to previous posts about this argument): it is an idle loop that waits for WM_QUERYENDSESSION message and then it creates a block reason to stop the shutdown process. But an endless serie