Share via

Request for Public IPs Required for Windows Server 2022 Activation

Ktrans Perth IT 0 Reputation points
2025-10-23T08:52:07.59+00:00

Hi there,

I’m currently running a Windows Server 2022 instance on Azure, which does not have internet access due to security restrictions. As a result, I’m encountering an error related to Windows activation.

Could you please provide a list of the public IP addresses that need to be allowed through the firewall to enable activation?

User's image

Thank you in advance for your assistance.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. Manish Deshpande 6,995 Reputation points Microsoft External Staff Moderator
    2025-10-23T11:57:23.9966667+00:00

    Hello Ktrans Perth IT

    Thanks for providing the details could you please run this steps and updates us here once its done.

    • Ensure the following KMS IPs are allowed on port - 1688

    User's image

    • Confirm access to:

    User's image

    Create outbound firewall rules for:

    User's image

    If FQDN-based rules are not supported, allow the IP ranges associated with these domains. Refer to Microsoft Service Tags: AzureCloud and WindowsActivation.

    • If using custom DNS, allow forwarding to public DNS servers.
    • Run the following PowerShell command on the VM:
    Test-NetConnection activation.sls.microsoft.com -Port 443
    Test-NetConnection validation.sls.microsoft.com -Port 443
    Test-NetConnection sls.microsoft.com -Port 443
    

    TcpTestSucceeded : True for all tests.

    • This will trigger activation.
    slmgr /ato
    
    • It should display-The machine is permanently activated.
    slmgr /xpr
    

    Please complete these steps and let us know the update.

    Thanks,
    Manish Deshpande

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.