Disable Windows Server Shutdown Reason

I run a lab Windows 2019 Server that frequently gets rebooted and shutdown. Every time I log in, I get greeted by the Shutdown Reason screen:

Windows Shutdown Reason Screenshot

Obviously for a lab server, it doesn't matter too much. To disable this dialog, I had to add a registry key and value:


[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT]

I created a new key called:


And inside that Key, I added a DWORD value called "ShutDownReasonOn" and left it's value at zero.

Registry Change

That's it! Now when I do crazy things with my lab server, I can just log in and get on with business.