Windows Server evaluation editions give full access for 180 days. After that, hourly shutdowns begin. The slmgr /rearm command resets the counter.
You can rearm up to 6 times per installation, giving approximately 1,080 days (about 3 years). Per Petri.com testing, this is the standard limit. The rearm does not affect installed applications or configuration.
This tutorial covers checking status, executing the rearm, verifying, and converting to a full license.
Before you start
What you will learn
- How to check evaluation time, extend the trial with slmgr rearm, verify, and convert to a full edition.
- Without extension, the server shuts down hourly after 180 days. Rearm gives up to 3 years for labs and training.
Requirements
- Local administrator access.
- Windows Server 2016, 2019, 2022, or 2025 evaluation edition.
- Local administrator
Good to know
- Under a minute plus a restart.
Quick answer
Run slmgr /rearm in an elevated prompt, restart, verify with slmgr /dlv. Up to 6 times.
slmgr /rearmStep-by-step tutorial
5 stepsCheck current evaluation status
Check remaining evaluation time.
Open CMD as Administrator. Run slmgr /dlv. Look for Timebased activation expiration and Remaining Windows rearm count (max 6).
slmgr /dlvIf rearm count is 0, you cannot extend. Purchase a license or reinstall.
Execute the rearm command
Reset the 180-day timer.
Run slmgr /rearm. A dialog confirms success. Internet may be required per Microsoft Q&A.
slmgr /rearmEach execution uses one rearm cycle. Wait until 10-15 days remain.
Restart the server
Apply rearm changes.
Restart the server with shutdown /r /t 0.
shutdown /r /t 0Verify the extension
Confirm the reset.
Run slmgr /dlv again. Verify expiration is about 180 days from today and rearm count decreased by 1.
slmgr /dlvSet a reminder for 170 days from now to avoid Notification mode.
Convert to full license (when ready)
Convert to full license when ready.
Check editions: DISM /online /Get-TargetEditions. Convert with a valid product key and restart. Domain Controllers may need demotion first.
DISM /online /Get-TargetEditionsTake a full backup before converting.
How to Confirm the Extension Worked
Desktop watermark should show 180-day countdown. Run slmgr /xpr for quick confirmation.
When all 6 rearms are exhausted, the server enters Notification mode with hourly shutdowns.
- 180-day countdown visible. Rearm count decreased by 1.
- If expiration did not change, rearm may have failed.
- Extension worked.
- No more extensions.
- Apply license now.
Troubleshooting
Error 0xC004D307
Cause: All 6 rearm cycles used.
Purchase a license or reinstall.
Network error during rearm
Cause: Internet may be required.
Connect the server to the internet and retry.
Hourly shutdowns
Cause: Evaluation expired with no rearms left.
If rearms remain, run slmgr /rearm immediately. Otherwise apply a license.
DISM fails on Domain Controller
Cause: In-place conversion not supported on DCs.
Demote the DC first, convert, then re-promote.
Frequently asked questions
How many times can I extend the evaluation?
Up to 6 times. Each gives 180 days, totaling about 1,080 days. After all 6, the server shuts down hourly.
Does slmgr rearm work offline?
It depends on the version. Per Microsoft Q&A, internet may be required for validation.
Can I convert evaluation to full without reinstalling?
Yes. Use DISM /online /Set-Edition with a valid product key. Data is preserved. DCs may need demotion first.
What happens when all rearms are used?
Notification mode activates: watermark appears, hourly shutdowns begin.
Can evaluation editions be used in production?
No. Per Microsoft license terms, evaluation editions are for testing and demonstration only.





