If your Windows Server suddenly shuts down on its own about every hour, or the desktop shows the notice Windows License is expired, the evaluation license has most likely expired. This guide shows you how to check and extend the license.
Requirements
- You are connected to your Windows Server.
- You are logged in as Administrator.
Step 1: Check the license status
-
Open PowerShell as administrator
Right-click the Start menu and select Terminal (Admin) or Windows PowerShell (Admin). -
Show the license information
Run the following command:slmgr /dlvAfter a few seconds, a window with the license information opens.
-
Read the values
Look for these entries:- Description: If it contains
EVAL, your server is running with an evaluation license. - Remaining Windows rearm count: How many more times you can extend the license.
- License Status and Timebased activation expiration: Whether and when the license expires.
- Description: If it contains
Step 2: Extend the license
-
Reset the license
In PowerShell as administrator, run:slmgr /rearmA window confirms that the command completed successfully.
-
Restart the server
Restart the server so the change takes effect:Restart-Computer -
Check the result
After the restart, connect again and runslmgr /dlv. The license should now run for 180 days again, and the remaining rearm count should have dropped by one.
Switch to your own license
If you want to run your Windows Server permanently, you can convert the evaluation version into a full version with a purchased product key. Your data and programs are kept. Microsoft describes the conversion with DISM step by step in the guide Convert Windows Server evaluation to a retail version.