Is your Windows server shutting down by itself?
This might be due to an expired license (you may see a message in the bottom right corner of your screen).
How to fix it?
- Open the cmd (command prompt)
- Type the following command:
slmgr -rearm
- Restart your server, it's now fixed !