Windows Server 2016, 2019, 2022, and 2025 Evaluation editions provide a 180-day trial for testing purposes. Check the remaining evaluation period with slmgr.vbs /dlv, extend an eligible trial using slmgr.vbs /rearm, or convert Evaluation to Standard or Datacenter with DISM /Online /Set-Edition and an appropriate product key.
Windows Server Evaluation is intended for testing, not permanent production use. When the trial expires, Windows Server may display a license expiration warning and shut down periodically, potentially every hour. Follow Microsoft’s evaluation licensing terms.
Applies to: Windows Server 2016, 2019, 2022, and 2025 Evaluation editions. Tools: DISM and slmgr.vbs.
Requirements
Before extending or converting Windows Server Evaluation, make sure you have:
- Administrator access to Windows Server.
- An elevated Command Prompt or PowerShell session.
- A backup of important data and access to restart the server.
- An appropriate product key if converting to Standard or Datacenter.
| Version | Evaluation period | Supported actions |
|---|---|---|
| 2016 | 180 days | Rearm; eligible edition conversion |
| 2019 | 180 days | Rearm; eligible edition conversion |
| 2022 | 180 days | Rearm; eligible edition conversion |
| 2025 | 180 days | Rearm; eligible edition conversion |
The number of available resets and supported conversion paths depends on the installed edition and licensing state. Do not assume all releases allow six resets.
Steps
Step 1. Check the Remaining Evaluation Period
Open Command Prompt as administrator and run:
slmgr.vbs /dlv
Check the evaluation expiration, License Status, and Remaining Windows rearm count. For additional expiration information, run:
slmgr.vbs /xpr
Step 2. Extend the Evaluation Period
If a rearm is available, reset the evaluation timer:
slmgr.vbs /rearm
Restart when prompted:
shutdown /r /t 0
Note: Restarting disconnects active sessions. The rearm count varies by release and licensing state, and rearming does not grant a permanent license.
Step 3. Check the Current Edition
To convert the evaluation edition, first identify the installed edition:
DISM /Online /Get-CurrentEdition
Evaluation installations typically display ServerStandardEval or ServerDatacenterEval.
Step 4. Check Available Target Editions
DISM /Online /Get-TargetEditions
Use only a target edition listed by DISM. Available choices vary by installed edition and installation type.
Step 5. Convert to Standard or Datacenter
Standard:
DISM /Online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
Datacenter:
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
Replace the placeholder with a suitable product key for the edition and licensing channel. Public KMS client keys do not provide a license by themselves.
Important: Datacenter Evaluation cannot be downgraded to Standard. Evaluation domain controllers cannot be converted directly; migrate required roles and safely demote them first. Server Core and Desktop Experience also have conversion restrictions.
Step 6. Restart the Server
Restart Windows Server after the conversion when prompted, then reconnect and verify the installed edition.
Verify
Check the edition:
DISM /Online /Get-CurrentEdition
For a successful conversion, the edition should show ServerStandard or ServerDatacenter without “Eval”. Verify activation:
slmgr.vbs /dlv
A correctly activated system shows License Status: Licensed. If needed, request activation with slmgr.vbs /ato.
Troubleshooting
slmgr /rearm fails
Use slmgr.vbs /dlv to check the remaining rearm count. When no resets remain, use an appropriately licensed edition or stop testing.
The target edition is unavailable
Run DISM /Online /Get-TargetEditions. If the edition is not listed, that conversion path is unsupported.
Windows Server is not activated
Check the product key, target edition, licensing channel, and detailed status using slmgr.vbs /dlv.
FAQ
How long does Windows Server Evaluation last?
Windows Server 2016, 2019, 2022, and 2025 Evaluation editions offer a 180-day testing period.
How many times can I run slmgr /rearm?
The number varies by release and licensing state. Check slmgr.vbs /dlv for the remaining count.
Can I convert Evaluation to Datacenter?
Yes, if ServerDatacenter appears in the supported target editions and you have an appropriate product key.
Can I convert a domain controller?
Not directly. Migrate the domain controller functions and safely demote the Evaluation server first.
What happens when the Evaluation period expires?
Windows Server may show licensing warnings and begin shutting down periodically, potentially every hour.
Related Articles
How to Install the RDP Role on Windows Server
How to Connect to a Server via RDP
Microsoft: Windows Server edition conversion options
Need a Licensed Windows Server?
Use appropriately licensed Windows Server on Unihost infrastructure:
Microsoft SPLA Licensing — licensing options for Windows Server.
Dedicated Servers — servers for Windows and business applications.