If your Windows server is shutting down unexpectedly, it could be due to the License being expired. This will result in Windows shutting down every 30 minutes. To resolve this issue, follow the following steps:Documentation Index
Fetch the complete documentation index at: https://docs.rdp.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Connect to your server via RDP.
- Open the command prompt as an administrator.

- Run the following command to rearm the license:

- Restart your server.