If your Windows Server license has expired, or your server doesn't have one, the server may automatically shut down every hour. This can disrupt operations and productivity.
You can quickly stop the recurring shutdowns using the PsExec tool from Microsoft.
Here's how:
- Download PsExec from the Microsoft site.
- Extract the PsExec files to a folder.
- Open an elevated Command Prompt.
- CD to the PsExec folder.
- Run "psexec -i -s cmd.exe"
This will open a new command prompt with SYSTEM privileges.
- Type "services.msc" to open the services manager.
- Locate the Windows License Monitoring Service.
- Right-click and select Properties.
- Change the Startup Type to Disabled.
- Click OK and restart the server.
Video Guide: Link
This will stop the automatic hourly shutdowns.
Note: While a license is not required for Windows Server to function, running it unactivated does result in a watermark on the desktop. Purchasing a license removes the watermark.