https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now
pinging @mwichary re: your article on specific Windows computers that perform software-based "shutdowns", see post just above this one in this thread
@winload_exe Sorry, can you explain what this means? (I saw that page when researching…)
Certain modern Windows PCs (think laptops with UEFI) support a weird kind of "soft-shutdown" feature implemented by Windows that, if the user holds down the power button for longer than seven seconds but less than twelve seconds, causes the OS to deliberately blue screen/crash itself as a "get out of jail free" card, should these computers run into a state where basic system functionality is no longer available or guaranteed.
The way this feature is implemented is a bit silly, since doing it this way obviously crashes/BSODs the system and eventually results in either data loss, or a settings misconfiguration or both. To make it look less obviously like a BSOD happened right in front of the average Joe, Microsoft changed the way the blue screen displays itself for this specific error code (MANUALLY_INITIATED_POWER_BUTTON_HOLD) to show a message of reassurance instead of the typical "your PC ran into a problem and needs to restart" message, and also powers off the system entirely instead of doing the usual restart. In earlier versions of Windows, this screen would also have changed color from blue (or green for Insider Previews) to pitch black.
This behavior is really meant for debugging purposes only, but most PC manufacturers (including Microsoft themselves) turned this setting on anyway.
@winload_exe Ooooh, thanks so much! That sheds a lot of light on this. Fascinating.
Is this a good summary:
- a 7-second hold is sort of a step between a normal orderly shutdown, and hard power cut off after 10 seconds
- the way it’s implemented is super hacky
- it wasn’t meant to “go to prod” but it did
- the reason it asks for extra time is that it wants to gather the information for… something?
@mwichary Yeah, pretty much. The "extra info" is basically just a dump of the last moments of the system before it hard-crashed.
@winload_exe Do you happen to know what happens to that info?
@mwichary It gets saved to a large file on disk, typically either as C:\Windows\MEMORY.DMP(which is larger) or as a smaller snapshot file located in the C:\Windows\Minidump folder.
@kopper the stupidest part about all this is the fact that this is a deliberate system crash triggered by Windows itself that occurs on specific devices that support the Long Power Button Hold feature - it even has its own bugcheck code to go with it.
MANUALLY_INITIATED_POWER_BUTTON_HOLDForcing a System Crash with the Power Button - Windows drivers