If your Windows Server 2022 Datacenter runs in an offline or air-gapped environment, you cannot use standard online activation. Many admins assume they need proxy access or firewall changes—but that is not required.
You can activate the server fully offline using Microsoft’s built-in tools. This guide walks you through the exact steps.

Data centers often block internet access for security reasons. Opening firewall ports or adding proxy access can expose critical systems.
Instead, Microsoft provides a secure offline activation method that works without any network connection.
What You Need Before You Start
Before you begin, make sure you have:
- A valid Windows Server 2022 Datacenter product key (MAK or Volume License)
- Access to any internet-connected device (phone or PC)
- Administrator access to your server
Method 1: Activate Using Command Prompt (Offline Activation)
This is the simplest and most reliable method for a single server.
Step 1: Install the Product Key
Open Command Prompt as Administrator and run:
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXXReplace the key with your valid license key.
Step 2: Generate Installation ID
Run the following command:
slmgr.vbs /dtiThe system will display a long Installation ID. Copy it carefully.
Step 3: Get Confirmation ID
Now you have two options:
- Call the Microsoft Activation Center
- Or use another device to access Microsoft activation support
Provide the Installation ID and receive a Confirmation ID.
Step 4: Apply Confirmation ID
Go back to your offline server and run:
slmgr.vbs /atp <Confirmation_ID>This step completes the activation.
Step 5: Verify Activation Status
To confirm activation, run:
slmgr.vbs /xprYou should see a message confirming that Windows is activated.
Method 2: Use Volume Activation Management Tool (For Multiple Servers)
If you manage multiple offline servers, you can use VAMT (Volume Activation Management Tool).
How it works:
- Install VAMT on a management machine
- Export activation data (CILX file)
- Transfer it via USB
- Apply activation to offline servers
This method helps automate activation across several systems.
Do You Need Proxy or Firewall Changes?
No.
You do not need:
- Proxy configuration
- Open firewall ports
- Internet access on the server
Offline activation works completely without network communication.
Common Mistakes to Avoid
Before you activate, avoid these issues:
- Using a retail key instead of a volume license
- Typing the Installation ID incorrectly
- Skipping the confirmation step
- Trying online activation in a blocked network
When Should You Use KMS or ADBA Instead?
Use other activation methods if your setup is larger:
- KMS → Best for multiple servers with internal activation
- Active Directory-Based Activation → Best for domain environments
For a single offline server, manual activation is faster and simpler.
FAQs
What is Windows Server 2022 offline activation?
Windows Server 2022 offline activation is a method to activate the server without internet access using an Installation ID and a Confirmation ID provided by Microsoft.
How do I activate Windows Server 2022 without internet?
You can activate Windows Server 2022 without internet by using slmgr /dti to generate an Installation ID, then getting a Confirmation ID from Microsoft and applying it with slmgr /atp.
Do I need internet access to activate Windows Server 2022?
No, you do not need internet access. You can complete Windows Server 2022 offline activation using phone or another device to obtain the Confirmation ID.
What is the slmgr command for offline activation?
The main commands are slmgr /ipk to install the key, slmgr /dti to get the Installation ID, and slmgr /atp to apply the Confirmation ID for offline activation.
Can I activate Windows Server 2022 Datacenter offline?
Yes, Windows Server 2022 Datacenter supports offline activation using a valid volume license key and Microsoft’s confirmation process.
What type of key is required for offline activation?
You need a valid Volume License key such as MAK or KMS; retail keys may not work properly in offline enterprise environments.
Do I need to open firewall ports for activation?
No, you do not need to open firewall ports or configure a proxy because offline activation does not require network communication.
How long does Windows Server 2022 offline activation take?
The activation process usually takes a few minutes once you receive the Confirmation ID from Microsoft.
Can I use KMS for offline activation?
Yes, you can use KMS in an internal network, but the KMS host must be activated once using internet or phone before it can activate other servers offline.
What is the difference between MAK and KMS activation?
MAK activation works per device using a confirmation ID, while KMS activation uses a local server to activate multiple machines automatically.
How do I check if Windows Server 2022 is activated?
You can check activation status by running slmgr /xpr or slmgr /dlv in Command Prompt.
Why is my Windows Server 2022 activation failing offline?
Activation may fail if the product key is invalid, the Installation ID is incorrect, or the Confirmation ID was entered incorrectly.
