6 ms·
Windows: Sorry, Dave, we can't shut your system down right now, you have 3 apps keeping it from shutting down and we have 37 updates to Edge Browser to install
by comeonseriously 5y ago
Windows: Sorry, Dave, we can't shut your system down right now, you have 3 apps keeping it from shutting down and we have 37 updates to Edge Browser to install... Have a nice day.
- Terry_Roll 5y agohttps://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-exitwindowsex https://docs.microsoft.com/en-us/windows/win32/api/winuser/n... EWX_FORCEIFHUNG 0x00000010 Forces processes to terminate if they do not respond to the WM_QUERYENDSESSION or WM_ENDSESSION message within the timeout interval. For more information, see the Remarks. If the EWX_FORCEIFHUNG value is specified, the system forces hung applications to close and does not display the dialog box.
- jeroenhd 5y agoIf forced shutdown is a priority, causing a bugcheck would probably be your best bet. This could be part of the USB driver for the device, or you could write a piece of software running as admin to trigger a fail state (like killing wininit or any other critical part of Windows). You'd have to watch out that you don't let the system store a memory dump, of course, that'd be the exact opposite of what you want.
- Terry_Roll 5y agoNot a battery flat state?
- BrazzVuvuzela 5y ago"A stop job is running."
- dotancohen 5y agoThat's what the -9 flag is for.
- chipsa 5y agoSend a signal to a driver to bluescreen the box?
- maltfield 5y agoCurrently the BusKill app just locks the screen when the cable disconnects. I've never had Windows block the screen lock with such an error. The way we implemented the self-destruct (currently only available in Linux), it locks the screen before attempting to wipe the LUKS Header. I imagine we'll do something similar in Windows, so the worst-case would be the soft shutdown hangs but at-least the screen is locked immediately. Hopefully we can force an immediate, uninterruptible, hard-shutdown in Windows, too.
- MrStonedOne 5y agobluescreen is a good method, but produces a memory dump. shutdown -s -t 0 -f will force the shutdown, but user has to be admin even if they could otherwise shutdown the computer.
- matheusmoreira 5y agoWhy would anyone serious about this be running Windows in the first place? A live Linux operating system is so much better. Tails is designed for this.