Hello
I’m sorry to hear about the unexpected shutdown of your Windows Server 2019. This can indeed be disruptive, especially when running critical applications. Here are some steps you can take to troubleshoot the issue:
Check for Scheduled Tasks: Ensure there are no scheduled tasks that might be causing the shutdown.
Power Configuration: You can use the powercfg command to check for any power configuration issues that might be causing the shutdown. Here are some commands you can run in PowerShell:
powercfg /requests
powercfg /lastwake
powercfg /sleepstudy
powercfg /systemsleepdiagnostics
powercfg /systempowerreport
Check Licensing Status: Ensure that your Windows Server 2019 is properly licensed. You can check the current license status by running slmgr -dlv in PowerShell.
System File Check: Run a system file check by executing sfc /scannow in PowerShell. This will check for any corrupt system files and repair them.
Event Viewer: Look for any other events in the Event Viewer that might provide clues to why the shutdown occurred.
Advanced Startup Options: You can also use advanced startup options to troubleshoot the issue. Here’s how:
Go to Settings > Update & security > Recovery.
Under Advanced startup, select Restart now.
After your PC restarts to the Choose an option screen, select Troubleshoot > Advanced options > Startup Settings > Restart.
After the computer restarts, you’ll see a list of options.
Remember, it’s important to keep your system updated with the latest patches and updates.
Best Regards,
Wesley Li