I have not managed to inadvertently shutdown a server but I have accidentally shutdown, instead of restarting, my work PC twice when tired over the last 16 months. I now have the following on the Desktop of any Windows machine, including servers, which I RDP into:
- A shortcut to logout.exe
- A Restart folder containing two batch files:
a) Restart.bat - shutdown /r /c "Manual Restart" /f /d p:4:2
b) StopRestart.bat - shutdown /a
ie I do not go near the Windows Power menu when interactively using RDP.