Azure Windows Server 2022 VM Activation Issue

Andy S 26 Reputation points
2022-08-10T20:22:36.027+00:00

Server 2022 Datacenter Azure Edition VM was originally activated when built on 2/3/2022, but now will not activate:

230162-image.png

slmgr /dlv output:

230182-image.png

slmgr /ato output:

230241-image.png

VM has no issues pinging kms.core.windows.net:1688

230242-image.png

Other Server 2022 Datacenter VM's are all activated, all of the VM's (including the 1 that will not activate) are on the same virtual network, same resource group, going through the same firewall:

230163-image.png

Local firewall is off on the VM having the problem as well as all other VM's that are activated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,163 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2022-08-11T01:57:50.243+00:00

    My first recommendation would be to go through the guide for Troubleshooting Azure Windows virtual machine activation problems
    Azure uses different endpoints for KMS (Key Management Services) activation depending on the cloud region where the VM resides. When using this troubleshooting guide, use the appropriate KMS endpoint that applies to your region.

    One of the customer in this post shared what worked for them :
    If the VM date/time was set to UTC, activation was successful. However, if date/time changed back to local time, activation warnings would commence again.

    Another customer resolved it with the help of these commands:
    slmgr /upk --> To uninstall existing product key
    slmgr /ipk --> NTBV8-9K7Q8-V27C6-M2BTV-KHMXV
    slmgr /ato --> To activate
    slmgr /xpr --> To check activation expiry date.

    Similar threads on the same issue that you may find helpful:
    https://learn.microsoft.com/en-us/answers/questions/803757/cannot-activate-license-of-windows-servervm-in-clo.html
    https://learn.microsoft.com/en-us/answers/questions/811308/azure-server-needs-activation.html

    Please go through these and let me know if you are still encountering this issue. Thanks.