Short answer: To go from Server 2022 evaluation to Standard, run DISM with the Set-Edition switch and a Standard key in an elevated prompt. Then restart. Roles, settings and data stay in place. Only domain controllers can't be converted, and we'd take a backup first.
Going from Server 2022 evaluation to Standard doesn’t need a rebuild. One DISM command with a Standard retail key, then a restart. Roles, settings and data stay in place. We can’t fix the trial with slmgr, and a domain controller can’t be converted at all.
The mistakes happen before and after the command, so most of this page is about those.
- Back up: a full backup or a VM checkpoint.
- Check the edition: DISM reports ServerStandardEval on a trial.
- Convert: Set-Edition:ServerStandard with your key and /AcceptEula.
- Restart, then check activation with the slmgr license report.
- Domain controllers: move the roles to a licensed server first.

| Point | What to know |
|---|---|
| Length of the trial | 180 days; after that the server shuts down roughly every hour |
| The supported route | DISM with the Set-Edition switch and a Standard key |
| What doesn’t work | slmgr /ipk alone; it can’t change an evaluation edition |
| First check | DISM /online /Get-TargetEditions must list ServerStandard |
| Hard stop | A domain controller can’t be converted; demote it first |
| Afterwards | Retail, MAK, KMS and OEM keys can be swapped with slmgr |
Converting Windows Server 2022 evaluation to Standard in place
It works, and Microsoft supports it. DISM turns the trial into the retail edition in place. Roles, features, applications, domain membership and data are kept.
Two exceptions apply. A server that’s a domain controller can’t be converted. And a Datacenter trial can only become retail Datacenter.
Plenty of IT teams start with the free Windows Server 2022 evaluation from the Microsoft Evaluation Center. They test roles, Hyper-V or an application stack before buying. Weeks pass, and the test box becomes useful. That’s exactly the case this conversion was built for.
A reinstall would cost you an export of the configuration, a software reinstall and new permissions. The conversion takes one command, a key and a restart window. It’s usually under half an hour. We’d say the only real decisions are the edition and the kind of license you activate afterwards.
Windows Server 2022 evaluation limitations
The trial is full-featured and lasts 180 days. When it ends, three things happen. The desktop shows a licensing warning. The server starts shutting down about once an hour. And the remaining time disappears from the watermark.
Between shutdowns the installation keeps working. So you can still convert it. Production use is over at that point, though.
Check the clock before anything else, in an elevated prompt:
slmgr.vbs /dlv
On a trial copy the Description line contains EVAL. The output also shows the time left and the remaining rearm count. An unactivated trial shows the days left in the bottom right corner of the desktop as well.
| Stage | What you see | What to do |
|---|---|---|
| Days 1 to 180 | Full functionality, countdown in the corner and in slmgr /dlv |
Plan the conversion, buy the key |
| Last days of the trial | More frequent licensing reminders | Convert now, outside business hours |
| After expiry | Automatic shutdown roughly every hour, “Windows License is expired” notice | Convert straight away; slmgr /rearm can buy time if rearms are left |
Stretching the trial
Usually possible, a few times. This resets the clock, followed by a restart:
slmgr.vbs /rearm
The license details show how many rearms remain. We’d treat it as a short bridge to a purchase, not as a licensing strategy. Rearming gives you no production rights.
No registry trick turns an expired trial into a licensed server. A guide that suggests one deserves to be skipped. The supported fix is the DISM conversion below, with a genuine key.
Prerequisites for converting evaluation to Standard
- A Windows Server 2022 Standard product key.
- Local administrator rights.
- An elevated Command Prompt or PowerShell window.
- A fresh backup.
- A maintenance window for one or two restarts.
- A server that isn’t a domain controller.
- ServerStandard in DISM’s list of target editions.
Internet access makes the final activation simpler.
Which key works
Microsoft’s procedure uses a retail product key for the target edition. A retail Standard key is the simple choice. Ours: a Windows Server 2022 Standard key, instant to email. DISM installs it during the conversion, and online activation follows.
- Retail key. Works directly with the Set-Edition switch. Activates online or by phone.
- Volume license, MAK. Convert first. Then install the MAK with slmgr.
- KMS. Many admins pass the public KMS client setup key for this edition to DISM. Then they activate against their own KMS host.
That public KMS client key is this one. It activates nothing without a KMS host on your network:
VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Datacenter keys don’t convert to Standard. Keys for other server releases don’t work on a 2022 installation either.
Preparation checklist
- Take a full backup, or a VM snapshot or checkpoint. The conversion keeps data, and a restore point costs minutes and saves days.
- Write down the installed roles and features. The command is below.
- Install pending updates and restart once. DISM shouldn’t meet a pending reboot.
- Leave several gigabytes free on the system drive.
- Schedule downtime and tell users. The server restarts during the change.
- Does the server run Active Directory Domain Services? Stop here and read the domain controller section first.
Get-WindowsFeature | Where-Object Installed
How to convert Server 2022 evaluation to Standard with DISM
- Open Command Prompt as administrator.
- Check the current edition.
- List the editions the install can move to.
- Run the conversion with your key and accept the license terms.
- Confirm the restart, sign in again and check the result.

Step 1: check the current edition
Right-click Start and choose Terminal as admin. Or search for Command Prompt and pick Run as administrator. Then:
DISM /online /Get-CurrentEdition
Look for ServerStandardEval as the current edition. Desktop Experience and Server Core use the same name. ServerDatacenterEval tells you the Datacenter trial got installed.
Step 2: list the target editions
DISM /online /Get-TargetEditions
ServerStandard has to appear in the answer. From a Standard trial you normally see ServerStandard and ServerDatacenter.
ServerStandard is missing? Then conversion isn’t possible on this installation. A clean install of the retail edition is the way forward.
Step 3: read the license terms, if you need a record
Microsoft’s procedure includes saving the terms before you accept them. Some organisations require that record. Open the saved file in WordPad.
DISM /online /Set-Edition:ServerStandard /GetEula:C:\license.rtf
Step 4: run the conversion
DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
What each part of that line does:
| Switch | What it does |
|---|---|
/online |
Works on the running installation, not on an offline image |
/Set-Edition:ServerStandard |
Names the edition to move to |
/ProductKey |
Installs the key for the target edition during the change |
/AcceptEula |
Accepts the license terms, so the command doesn’t stop and ask |
Then wait. The progress bar can sit at 10% for a long time, and that’s normal. On SSD hardware it typically finishes in 10 to 20 minutes. Slower disks take longer.
At the end DISM asks whether to restart Windows to complete the operation. Press the Y key. The server applies changes during boot, sometimes with an extra automatic restart.
Step 5: confirm the result
Sign in and open an elevated prompt again. Either of these should now answer with ServerStandard:
DISM /online /Get-CurrentEdition
Get-WindowsEdition -Online
We’d run DISM from a local console or a VM console, not over RDP. If the session drops mid-conversion, the command still runs. You lose sight of the restart prompt, though, and may wait for nothing.
Why slmgr.vbs can’t convert the evaluation
The tool only installs and activates keys for the installed edition. A trial edition has its own SKU. So a retail Standard key fed to it typically fails with 0xC004F069, “the product SKU is not found”.
Microsoft documents slmgr for switching license types after the conversion, and for Essentials. Not for leaving the trial. Older guides presented it as an alternative route. An earlier version of this page did too. It isn’t one for Standard or Datacenter.
| Task | Tool | Command |
|---|---|---|
| Check edition | DISM | DISM /online /Get-CurrentEdition |
| Evaluation to retail Standard or Datacenter | DISM | DISM /online /Set-Edition:ServerStandard /ProductKey:… /AcceptEula |
| Standard to Datacenter (already licensed) | DISM | DISM /online /Set-Edition:ServerDatacenter /ProductKey:… /AcceptEula |
| Retail to MAK, KMS or OEM key, same edition | slmgr | slmgr.vbs /ipk <key> |
| Essentials evaluation to full Essentials | slmgr | slmgr.vbs /ipk <key> |
| Activate, check status | slmgr | slmgr.vbs /ato, slmgr.vbs /dlv |
More DISM edition switches, Datacenter scenarios included, are in our walkthrough on activating Windows Server with DISM.
Activating Windows Server 2022 Standard after conversion
After the restart the server usually activates online by itself, within a few minutes. If it doesn’t, there are three routes.
Online
Open Settings, System, Activation. Or run the first line below and wait for the “Product activated successfully” dialog. The second line should then show License Status: Licensed.
slmgr.vbs /ato
slmgr.vbs /dlv
By phone, for offline servers
slui 4
- Run the command from an elevated prompt.
- Select your country or region.
- Call the number shown and read out the installation ID.
- Type the confirmation ID you receive into the wizard and click Activate.
The call itself, explained: activate Windows by phone.
MAK or KMS
Both run from an elevated prompt, one line at a time, in this order.
| License | Step | Command |
|---|---|---|
| MAK | Install the key | slmgr.vbs /ipk YOUR-MAK-KEY |
| MAK | Activate | slmgr.vbs /ato |
| KMS | Install the client key | slmgr.vbs /ipk VDYBN-27WPP-V4HQT-9VMD4-VMK7H |
| KMS | Point to your host | slmgr.vbs /skms kms.yourdomain.com:1688 |
| KMS | Activate | slmgr.vbs /ato |
The license details of a KMS client show the host name and a renewal interval.
Activation errors after a conversion are rarely about the conversion. We cover the remaining scenarios in our guide to Windows Server 2022 activation for every edition. Error 0xC004F074 has its own page, because KMS setups hit it so often.
A domain controller on the trial
It can’t be converted directly. Microsoft states that plainly. The way round takes a second server.
- Build or convert a second server to the licensed Standard edition and promote it to a domain controller.
- Let replication finish, and check it.
- Move the FSMO roles to the new one.
- Demote the trial server. Server Manager, Remove Roles and Features, Active Directory Domain Services.
- Restart. Then run the DISM conversion on what’s now a member server.
repadmin /replsummary
Move-ADDirectoryServerOperationMasterRole
The first line checks replication. The second is the PowerShell cmdlet that moves the roles.
Rarely does anyone plan for this in a lab. That’s why it catches people. The test server became the only DC, and the trial clock keeps ticking.
Server 2022 evaluation to Standard: conversion and activation errors
Four causes produce most failures. The wrong key for the target edition. A target edition DISM doesn’t list. A domain controller role. Or a pending restart.
Read the exact DISM message, and check the log. Fix the cause and run the command again. The log is here:
%windir%\Logs\DISM\dism.log
| Message or code | Likely cause | Fix |
|---|---|---|
| “The current edition cannot be upgraded to any target editions” / target not listed | Datacenter evaluation, Desktop Experience to Core, or unsupported install | Pick a listed target edition or do a clean install of retail Standard |
| “The specified product key is not valid for the target edition” | Datacenter, 2019, 2025 or client key used | Use a Windows Server 2022 Standard key and check for typos |
| Conversion refused on a DC | AD DS installed | Demote first, see the section above |
| 0xC004F069 with slmgr /ipk | Trying to change edition with slmgr | Use DISM /Set-Edition instead |
| 0x8007232B after conversion | KMS host not found in DNS | Set the host with slmgr /skms or fix the _vlmcs SRV record |
| 0xC004F074 | KMS host unreachable or time out of sync | Check port 1688, time sync and the host |
| DISM stuck at a percentage | Normal slow phase or a pending reboot | Wait; if there is no disk activity for an hour, restart and run it again |
Activation errors after a successful conversion usually point to the network, DNS or the key type.
What to send us if it still fails
- The output of the current edition query and of the target editions query.
- The exact DISM error text, or a screenshot of it.
- The last lines of the DISM log.
- Whether the server runs Active Directory Domain Services.
- Your order number, not the full key.
With those five things we can usually tell which of the four causes it is. No need to put the key itself in a screenshot.
Windows Update misbehaving afterwards
A restart and a manual update check solve it in most cases. Still failing? Reset the update components from an elevated prompt, one line at a time:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
If system files look damaged, follow up with these two:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
Verifying Server 2022 after the evaluation to Standard switch
- Edition. The edition query returns ServerStandard.
- Activation. The license details say Licensed, with no trial end date. Settings shows Windows as activated.
- Roles and services. Server Manager has no red alerts. File shares, IIS sites, Hyper-V VMs and applications respond.
- Event logs. Scan System and Application for new errors since the restart.
- Updates. Run Windows Update and install everything offered.
- Cleanup. The command below recovers space in WinSxS.
- Records. Store the key securely, with the conversion date, the edition and the server name. Delete the VM checkpoint once you’re satisfied.
DISM /Online /Cleanup-Image /StartComponentCleanup
Licensing considerations after the conversion
The conversion doesn’t change the licensing rules. It makes the installation legal once the key matches your licensing. The Standard edition is licensed per physical core.
- Core count. Every core in the host needs a license. The minimum is 8 per processor and 16 per server. Count physical cores, not threads.
- An example. A two-socket host with 12 cores each needs 24 core licenses.
- Virtual machines. Standard covers two VMs per fully licensed host. Stacking another set of licenses on the same host adds two more each time.
- CALs. User or device CALs for normal access. Remote Desktop Services CALs on top, if people log on through RDS.
- License type. Retail, OEM and volume licenses have different transfer rights. OEM stays with the original hardware.
- Records. Keep proof of purchase, keys and a server-to-license map. That’s what an audit asks for.
For many VMs, Datacenter is often the cheaper answer. Our page on VM limits in Windows Server 2022 Standard works through the numbers.
Standard or Datacenter as the target
Pick the edition before you run anything. Going from Standard up to Datacenter later is one more DISM command. Going down from Datacenter takes a clean install.
| Question | Standard | Datacenter |
|---|---|---|
| Virtual machines per fully licensed host | Two | Unlimited |
| Typical use | Physical server or light virtualisation | Dense virtualisation hosts |
| Reachable from a Standard trial | Yes | Yes |
| Reachable from a Datacenter trial | No | Yes |
Converting the evaluation to Datacenter instead
The Datacenter route uses the same commands with a different edition name. We run them in an elevated Command Prompt with a retail Datacenter key:
DISM /online /Get-CurrentEdition
DISM /online /Get-TargetEditions
DISM /online /Set-Edition:ServerDatacenter /GetEula:C:\license.rtf
DISM /online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
ServerDatacenter has to appear in the list of targets first. From a Standard trial it normally does; from a Datacenter trial it’s the only target.
The key must be a Windows Server 2022 Datacenter key. A Standard key fails on this target with “not valid for the target edition”, and the reverse is true as well.
Server Core trials follow stricter rules
Microsoft’s conversion page sets limits that catch Server Core installs in particular.
| Evaluation you installed | Retail editions it can become |
|---|---|
| Standard, Desktop Experience | Standard or Datacenter, Desktop Experience |
| Datacenter, Desktop Experience | Datacenter, Desktop Experience only |
| Standard, Server Core | Datacenter Core only, not Standard Core |
| Datacenter, Server Core | Datacenter Core |
| Any Desktop Experience trial | Never a Core retail edition |
So a Standard Core trial can’t stay Standard. We’d either license it as Datacenter or reinstall from Standard retail media. Get-TargetEditions shows which case you’re in before anything changes.
The same steps on 2016, 2019 and 2025
Microsoft’s page applies to every release from 2016 to 2025, and the commands don’t change between them. We only change the key: it has to match both the release and the target edition.
| Installed trial | Edition name for Set-Edition | Key needed |
|---|---|---|
| 2016, 2019, 2022 or 2025 Standard | ServerStandard or ServerDatacenter | Same release, matching edition |
| 2016, 2019, 2022 or 2025 Datacenter | ServerDatacenter | Same release, Datacenter |
| Essentials | No DISM step; slmgr /ipk with a retail, volume or OEM key | Essentials |
Microsoft lists two checks for a server still on the trial. The edition name ends in Eval, or the license output contains EVAL:
DISM /online /Get-CurrentEdition
slmgr.vbs /dlv
We compare the editions themselves in Windows Server Standard vs Datacenter and the whole line-up in Windows Server editions explained.
Which editions a Windows Server evaluation can convert to
An evaluation Standard can become retail Standard or retail Datacenter. An evaluation Datacenter can only become retail Datacenter.
Since Windows Server 2016 you also can’t switch between Desktop Experience and Server Core during conversion. Anything outside these paths needs a fresh install. That’s why the target list comes first.
| You have | You can convert to | Not possible |
|---|---|---|
| Standard Evaluation (Desktop Experience) | Standard or Datacenter (Desktop Experience) | Any Core edition |
| Datacenter Evaluation | Datacenter | Standard |
| Standard (retail, licensed) | Datacenter with a Datacenter key | Back to Standard |
| Retail, volume or OEM key of the same edition | Any other license channel via slmgr /ipk |
Edition change with slmgr |
| Essentials | Licensed Essentials via slmgr /ipk |
DISM edition change |
Evaluation copies run for 180 days. After that the server shows a warning and, in our experience, starts shutting itself down every hour. So convert well before the deadline.
Server 2022 evaluation to Standard: the short path
- Back up, or take a checkpoint.
- Confirm the trial edition and the list of targets.
- Run the conversion with the key.
- Restart when DISM asks.
- Check the edition and the activation state.
- Run Windows Update, then tidy up.
Microsoft’s own page for the procedure is Convert Windows Server editions and license types. We cover the other releases in our DISM activation guide, and the edition choice in Windows Server 2022 Standard vs Datacenter.
Before and after, in one table
| Check | Before the command | After the restart |
|---|---|---|
| Edition reported by DISM | ServerStandardEval | ServerStandard |
| Activation state | Evaluation period counting down | Licensed, after online activation |
| Roles and features | Listed and saved | The same list |
| Desktop watermark | Evaluation text | Gone once activated |
If the watermark stays after the restart, the server hasn’t reached Microsoft yet; we check the network and run the activation again.
Quick answers
| Question | Short answer |
|---|---|
| Can you convert Windows Server 2022 evaluation to Standard after the trial has expired? | Yes. |
| Will converting the evaluation delete my roles, apps or data? | Nope. |
| Why does slmgr /ipk give error 0xC004F069 on my evaluation server? | Because slmgr can’t change a trial edition into a retail one. |
| Can you convert Server 2022 Datacenter evaluation to Standard? | Nope. |
| How long does the DISM conversion take? | Typically 10 to 30 minutes plus one or two restarts, depending on disk speed. |
| Can you use a KMS client key for the conversion? | Many admins do. |
| How do you convert a domain controller running the evaluation? | Not directly. |
Related guides
FAQ
Can I convert Windows Server 2022 evaluation to Standard after the trial has expired?
Yes. The expired trial still boots, and shuts down roughly every hour. That leaves enough time for the DISM command with a Standard key. If the shutdowns get in the way, we'd try a rearm and a restart first.
Will converting the evaluation delete my roles, apps or data?
Nope. DISM changes the edition in place. Roles, features, applications, domain membership and files are kept. We'd still take a backup or a VM checkpoint. A failed restart is the one thing no command undoes.
Why does slmgr /ipk give error 0xC004F069 on my evaluation server?
Because slmgr can't change a trial edition into a retail one. The retail key doesn't match the installed SKU. Use DISM with the Set-Edition switch and the key. Keep slmgr for activation and later key changes.
Can I convert Server 2022 Datacenter evaluation to Standard?
Nope. A Datacenter trial can only become retail Datacenter. For Standard, install the Standard media from scratch. Or license the server as Datacenter.
How long does the DISM conversion take?
Typically 10 to 30 minutes plus one or two restarts, depending on disk speed. The progress bar often pauses around 10%. That's normal, so we'd wait before cancelling anything.
Can I use a KMS client key for the conversion?
Many admins do. They pass the public KMS client setup key to DISM, then activate against their own KMS host. Without a KMS host on your network that key never activates. Use a retail or MAK key in that case.
How do I convert a domain controller running the evaluation?
Not directly. Promote a second, licensed domain controller and move the FSMO roles to it. Demote the trial server. Then run the DISM conversion on it as a member server.
Can I change a Windows Server evaluation to Datacenter?
Yes, from a Standard or Datacenter trial. Run DISM with Set-Edition:ServerDatacenter and a retail Datacenter key for the same release. A Standard Server Core trial can only become Datacenter Core.
