ConfigureBeginnerTutorialsUpdated July 15, 2026

How to Extend the Windows Server Evaluation Period Using slmgr

Extend your Windows Server evaluation from 180 days to approximately 3 years using the slmgr rearm command. Covers status checking, rearm execution, verification, and license conversion.

Emanuel De Almeida July 18, 2026 4 min read
Difficulty
Beginner
Time
5-10 minutes
Steps
5

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.

Code
slmgr /rearm

Step-by-step tutorial

5 steps
1

Check 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).

Cmd
slmgr /dlv
Expected resultShows remaining days and rearm count.

If rearm count is 0, you cannot extend. Purchase a license or reinstall.

2

Execute the rearm command

Reset the 180-day timer.

Run slmgr /rearm. A dialog confirms success. Internet may be required per Microsoft Q&A.

Cmd
slmgr /rearm
Expected resultSuccess dialog. Rearm count decreases by 1.

Each execution uses one rearm cycle. Wait until 10-15 days remain.

3

Restart the server

Apply rearm changes.

Restart the server with shutdown /r /t 0.

Cmd
shutdown /r /t 0
Expected resultServer restarts with fresh 180-day countdown.
4

Verify the extension

Confirm the reset.

Run slmgr /dlv again. Verify expiration is about 180 days from today and rearm count decreased by 1.

Cmd
slmgr /dlv
Expected resultAbout 180 days remaining. Rearm count decreased by 1.

Set a reminder for 170 days from now to avoid Notification mode.

5

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.

Cmd
DISM /online /Get-TargetEditions
Expected resultServer converts to full edition.

Take 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.

Reader reviews

Rate this articleBe the first to rate
No written reviews yetRate the article above, or be the first to share your experience.

Related articles