Skip to main content
← Guides

How to Activate and Verify Windows Server: Check, Convert, Activate

What this guide helps you do

Step-by-step Windows Server activation: detect an Evaluation edition, convert it with DISM, activate with slmgr and confirm the license status is correct.

Activating Windows Server is not the same as activating desktop Windows: before you type the key, you need to know which edition is installed and whether it is an evaluation build. This guide goes in order: check, convert if needed, activate, verify.

The commands here apply to Windows Server 2008 and later. Windows Server 2003 R2 works differently: contact support with your order.

1. Open an elevated console

Every command runs in Command Prompt or PowerShell opened as administrator. On Server Core, the console is already available at sign-in. The delivery instructions in your order take priority over any detail in this guide.

2. Check which edition is installed

Run:

DISM /online /Get-CurrentEdition

The output looks like ServerStandard or ServerDatacenter. If it ends in Eval (for example ServerStandardEval), you have an evaluation build that must be converted before a commercial key can activate it.

You can also read license details with slmgr /dlv: the description shows the channel and whether it is an evaluation.

3. Make sure your key matches the edition

The key must be for the same version and edition you will run. A Standard key will not activate a Datacenter installation, and a 2019 key will not activate 2022. Check your order for what you bought: Windows Server 2022 Standard, Windows Server 2022 Datacenter, Windows Server 2019 Standard and the rest of the servers category.

To see which editions your installation can be converted to, use:

DISM /online /Get-TargetEditions

4. If it is an Evaluation: convert the edition

With the target edition and your key:

DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

Replace ServerStandard with ServerDatacenter if your key is for Datacenter, and the sample key with the one in your delivery. The server will restart during the process; save your work first and do not interrupt it. Afterwards, run DISM /online /Get-CurrentEdition again to confirm "Eval" is gone.

5. If it is not an Evaluation: install the key and activate

  1. Install the key: slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  2. Activate: slmgr /ato
  3. Wait for the confirmation message. Online activation needs an internet connection.

If your variant uses phone activation, open the wizard with slui 4 and follow the phone activation and CID guide using the tool in your order.

6. Verify it is activated

  • slmgr /dli: shows the edition name, part of the key and the license status. It should read Licensed.
  • slmgr /xpr: tells you whether activation is permanent or until what date it is valid.
  • slmgr /dlv: the detailed view, useful for support.

If slmgr /xpr says the machine is permanently activated, you are done.

Common errors

  • The key is rejected when installed. Almost always a different edition or version (for example a Datacenter key on a Standard install). Check with DISM /online /Get-CurrentEdition.
  • It still shows evaluation after entering the key. slmgr /ipk does not convert an evaluation; use DISM for that.
  • Online activation fails. Check the connection and the server date and time, and retry once. If it persists, stop and note the exact error code.
  • Leftovers from another activation. If the server previously used activators or unofficial configurations, they can interfere. Do not clean blindly; send the diagnostics to support.
  • Mixing up RDS CALs with server activation. Remote Desktop CALs are access licenses for users or devices: they do not activate the server operating system.

When to ask for help

Contact us if you followed these steps and the server will not activate. Include your order number, the installed version and edition (the output of DISM /online /Get-CurrentEdition), the slmgr /dlv output without the full key, and the exact error code or message. For other cases see Windows will not activate: what to check.

Frequently asked questions

Is Windows Server activation the same as Windows 11?

The key method is similar (slmgr /ipk and /ato), but on a server you must first check the edition and whether it is an evaluation build, which is not a concern on a regular desktop install.

What if my server says Evaluation?

Convert it with DISM /online /Set-Edition:, giving the edition and your key, then restart. Afterwards activate with slmgr /ato.

How do I know it is activated?

Run slmgr /dli to see the license status and slmgr /xpr to see whether it is permanent.

What is the difference between Standard and Datacenter?

They are different editions with different keys. Activate with the key for the edition that is installed. If you are unsure which to pick, check the product page.

Do RDS CALs activate my server?

No. RDS CALs license user or device access to Remote Desktop Services; the server is activated with its own key.

Related comparisonWindows 10 or Windows 11: which to choose after end of support→ SovengridExplore Windows→