This guide walks you through downloading, installing and activating Windows Server 2022 Datacenter, the edition with unlimited virtual machines, Storage Spaces Direct and software-defined networking. It includes the evaluation-to-retail conversion step that trips up most admins. You'll need a Windows Server 2022 Datacenter product key.
Support note: Windows Server 2022 leaves mainstream support on October 13, 2026 and receives security updates until October 14, 2031. For new hosts, Windows Server 2025 Datacenter is supported until 2034.
Requirements
- 64-bit processor at 1.4 GHz, with NX, DEP, CMPXCHG16b, LAHF/SAHF and PrefetchW support; SLAT for Hyper-V
- 512 MB RAM for Server Core, 2 GB for Desktop Experience (far more for Hyper-V hosts)
- 32 GB of disk space (more for Desktop Experience and updates)
- UEFI with Secure Boot and TPM 2.0 recommended
- Licensing: every physical core, with a 16-core minimum per server
Step 1: Download the ISO
Download the Windows Server 2022 ISO from the Microsoft Evaluation Center. Register, choose ISO download and your language. The image contains Standard and Datacenter in both Server Core and Desktop Experience variants.
Step 2: Install Windows Server
- Write the ISO to a USB drive (8 GB+) with a tool such as Rufus, or attach it to a virtual machine.
- Boot from it and choose your language, then Install now.
- Select Windows Server 2022 Datacenter Evaluation (Desktop Experience) for a graphical interface, or the non-Desktop option for Server Core.
- Choose Custom, select the target disk and let setup complete. Set the Administrator password when prompted.
Step 3: Convert the Evaluation Edition
An evaluation install won't accept a retail key directly, so you must convert it first. Open Command Prompt as Administrator:
- Check the current edition:
DISM /Online /Get-CurrentEdition - List possible targets:
DISM /Online /Get-TargetEditions - Convert and apply your key:
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula - Restart when prompted. The server may restart twice.
Important: DISM can't convert a server that is already a domain controller. Convert first and promote afterwards, or demote it before converting.
Step 4: Activate Windows Server
After the conversion, Windows usually activates automatically. If not, run:
-
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXXto install the key -
slmgr /atoto activate online -
slmgr /dlvto confirm the licence status shows "Licensed"
Activation is online, so make sure the server is connected to the internet.
Step 5: Enable Hyper-V (Optional)
Datacenter's main benefit is unlimited Windows Server VMs. To add the Hyper-V role, run this in PowerShell as administrator:
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
Remember that every user or device connecting to the server needs a CAL. Remote Desktop users also need RDS CALs, and our RDS CAL activation guide shows how to install them.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| 0xC004F069 | Edition mismatch or evaluation build | Run the DISM conversion in Step 3. |
| "This edition cannot be upgraded" | The evaluation server is a domain controller | Demote, convert, then promote again. |
| 0x8007232B | Windows is looking for a KMS host | Install your key with slmgr /ipk, then slmgr /ato. |
| 0xC004C008 | Activation limit reached | Contact us for a replacement key. |
Still stuck? Our support team is available 24/7 by email and Discord, and every key we sell is covered by a 30-day money-back guarantee and lifetime replacement warranty.
Frequently Asked Questions
Can I use a Datacenter key on a Standard installation?
Yes. Convert with DISM using ServerDatacenter as the target edition. No reinstall is needed.
How many VMs can I run?
Unlimited Windows Server VMs on the licensed host, as long as all its physical cores are licensed.
Does the evaluation expire?
Yes, after 180 days. Convert it with your key before then.
Conclusion
Download the ISO, install Datacenter, convert the evaluation with DISM, and activate with slmgr. That's the reliable path to a licensed Windows Server 2022 Datacenter host. For smaller servers, see Windows Server 2022 Standard.
Useful Links
| Resource | Link |
|---|---|
| Server 2022 Datacenter key | Buy Windows Server 2022 Datacenter |
| Server 2025 Datacenter | Windows Server 2025 Datacenter |
| ISO download (Microsoft) | Evaluation Center |
| RDS CAL setup | RDS CAL activation guide |
Leave a comment