2022: How To Activate Windows Server
| Error Code | Meaning | Solution | |------------|---------|----------| | | KMS server not reachable | Check network connection to your KMS host. | | 0xC004C003 | Key blocked or invalid | Verify you’re using the correct key for your edition. | | 0x8007232B | DNS name does not exist | For KMS: manually set KMS server using slmgr /skms . | | 0xC004F025 | Access denied (MAK exceeded limit) | Your MAK key has been used too many times. Contact your VLSC admin. | | 0x80070005 | Access denied | Run Command Prompt or PowerShell as Administrator. | | 0xC004F035 | Invalid product key for BIOS | Occurs on virtual machines. Use a Volume License key instead of OEM. |
If your server is currently an , standard activation through Settings will fail. You must use the Deployment Image Servicing and Management (DISM) tool: How to activate my Windows Server 2022 - Microsoft Q&A how to activate windows server 2022
No. Each instance (host + virtual machines) requires its own license, except when using Datacenter edition with unlimited VM entitlements (via AVMA – Automatic Virtual Machine Activation). | Error Code | Meaning | Solution |
: Type the following command and replace with your actual license key: slmgr /ipk | | 0xC004F025 | Access denied (MAK exceeded
This is the most straightforward method for most users.
AVMA is a feature where Hyper-V hosts running Windows Server 2022 Datacenter can activate guest VMs automatically without transmitting any key over the network. Guest just needs the AVMA key:
$key = "YOUR-PRODUCT-KEY" cscript C:\Windows\System32\slmgr.vbs /ipk $key cscript C:\Windows\System32\slmgr.vbs /ato