How To Activate Windows Server 2022 Jun 2026
Enter your 25-character product key and click to activate online. 2. Activating via Command Prompt (SLMGR)
This guide provides step-by-step instructions to activate Windows Server 2022 using the Command Prompt, graphical user interface (GUI), and key management services. Method 1: Activate Using the Windows GUI
Right-click the button, select Command Prompt (Admin) or Windows PowerShell (Admin) , and click Yes on the User Account Control (UAC) prompt. Step 2: Install the Product Key
slmgr /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33 how to activate windows server 2022
: Navigate to Start > Settings > System > Activation . Select Change product key , enter your 25-character key, and click Next followed by Activate .
Set the KMS client key (if not already present) — Microsoft publishes Generic Volume License Keys (GVLKs) for each edition. To install a GVLK:
If your server is in a restricted network or lacks internet access, you can use the Telephone Activation system Microsoft Q&A . Press Windows Key + R to open the Run dialog. Type slui 4 and press Enter. Select your country/region from the dropdown menu. Enter your 25-character product key and click to
DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula Use code with caution. Copied to clipboard
If you encounter issues during activation, use these steps to resolve the most frequent errors:
The activation utility lacks sufficient local administrative privileges. Method 1: Activate Using the Windows GUI Right-click
Check your DNS configuration. Ensure outbound traffic over port 443 (HTTPS) and port 80 (HTTP) is permitted to Microsoft verification endpoints. Error Code 0x80070005 (Access Denied)
If you purchased through the Volume Licensing Service Center (VLSC) or Microsoft Store, check your account portal to retrieve the product key.
You need a 25-character product key (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) for your edition (Standard or Datacenter).