Re:Windows' Undocumented “Emergency Restart”
by omoikane on Tuesday July 05, 2022 @01:04PM
(#31990802)
Top comment has a link to more details. Apparently it's NtSetSystemPowerState from ntdll.
https://www.codeproject.com/Articles/34194/Performing-emerge...
I wonder what the history behind this feature is.