I have some computers which are acting as information displays without a mouse or keyboard attached. After a power cut, Windows 10 fails to boot. It shows a blue Recovery screen with the message "It looks like Windows didn't load correctly". Connecting a HID and using the "Restart my PC" button works fine without having to use any of the "Advanced repair options". I can also hold the power button for 5 seconds to switch the PC off, then press the power button to switch it back on.
It seems to happen every time that an unexpected power loss occurs.
I have tried using DISM
and chkdsk
as well as disabling fast boot but the problem persists. Is there a way to have Windows try restating automatically (or after a timeout)?
%WinDir%
when a dirty shutdown occurs (this is also why after a dirty shutdown the OS should be rebooted normally to clear the flag); every time Windows boots, it reads this file prior to presenting the GUI for user interaction.