If using a proxy , ensure it is configured in network settings, as online activation requires a direct path to Microsoft's servers.
Method 1: Activation During or After Installation via Settings
slmgr /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33 (This is the public key for Windows Server 2022 Datacenter). slmgr /ato
Install the Generic Volume License Key (GVLK) for Windows Server 2022: slmgr.vbs /ipk VTYG4-NX8WD-6396T-V36YV-F2BWM Use code with caution. Set your primary KMS server address: slmgr.vbs /skms ://yourdomain.com Use code with caution. Activate the system: slmgr.vbs /ato Use code with caution. Automatic Virtual Machine Activation (AVMA) how to activate windows server 2022
Wait for the popup window confirming the key was successfully installed. Trigger the online activation by entering: slmgr.vbs /ato Use code with caution.
Usually caused by incorrect system date and time . Ensure your server's clock is synced with a reliable NTP server.
Determine which target editions you can upgrade to (e.g., ServerStandard or ServerDatacenter): powershell Get-TargetEditions Use code with caution. If using a proxy , ensure it is
Log into a Domain Controller with Enterprise Admin credentials.
For large environments, Volume Licensing via Key Management Service (KMS) or Active Directory-Based Activation (ADBA) is ideal.
slmgr.vbs /skms YourKMSHostNameOrIP:1688 Set your primary KMS server address: slmgr
The system will verify your code and read back a .
Follow the automated voice prompts and enter the Installation ID using your telephone keypad.
How to Activate Windows Server 2022: A Complete Step-by-Step Guide