Windows VM activation no longer works in Azure - Virtual Machines (2024)

  • Article

Applies to: ✔️ Windows VMs

This article discusses important changes that were made to Key Management Services (KMS) IP addresses that cause problems for Microsoft Windows virtual machine (VM) activation in Windows Azure. These changes affect Azure Global cloud users who configured custom routes or firewall rules to allow KMS IP addresses and who were previously able to activate Windows VMs successfully.

Overview

Who's affected

In July 2022, we announced in an Azure update that two new KMS IP addresses, 20.118.99.224 and 40.83.235.53, are now Generally available: New KMS DNS in Azure Global cloud. Most Windows VM users on Azure aren't affected. However, you must take actions to include these two new KMS IP addresses if, in the past, you followed troubleshooting guides (such as the following articles) to configure custom routes or firewall rules that allow Windows VMs to reach KMS IP address:

If you didn't take these actions by October 3, 2022, your Windows VMs began reporting warnings about failing to reach Windows licensing servers for activation.

How you're affected

Because of the July 2022 Azure update, most Windows VMs in Azure Global cloud now rely on the new azkms.core.windows.net domain name for Windows activation. The new azkms.core.windows.net address initially pointed to the existing Windows activation domain name, kms.core.windows.net. After October 3, 2022, azkms.core.windows.net was reconfigured to point to the two new IP addresses. This change had the following effects:

If you followed this articleYou see this effect
Windows activation fails in forced tunneling scenarioIf you didn't take action to include the two new KMS IP addresses in custom routes, your Windows VMs can't connect to the new KMS server for Windows activation.
Use Azure Firewall to protect Azure Virtual Desktop deploymentsIf you didn't take action to include the two new KMS IP addresses in firewall rules, your Windows VMs can't connect to the new KMS server for Windows activation.

As explained in the operational requirements for KMS activation planning, KMS activations are valid for a period of 180 days (also known as the activation validity interval). To stay activated, KMS clients must renew their activation by connecting to the KMS host at least one time every 180 days. By default, KMS client computers try to renew their activation every seven days. After a client's activation is renewed, the activation validity interval begins again.

Within the KMS activation validity interval, you can still access the full functionality of the Windows VM. You should fix activation issues during this 180-day period.

Timeline

  • After October 3, 2022, but before March 1, 2023, most (but not all) Windows VMs in Azure relied on the new KMS IP addresses, 20.118.99.224 and 40.83.235.53, for Windows activation. The azkms.core.windows.net domain name points to these two IP addresses.

  • After March 1, 2023, all Windows VMs in Azure rely on the new KMS IP addresses 20.118.99.224 and 40.83.235.53 for Windows activation. The kms.core.windows.net domain name now points to the first of these new IP addresses (20.118.99.224).

Prerequisites

  • PowerShell

Symptoms

If you can't connect successfully to a KMS server for Windows activation, your Windows VM in Azure reports warnings such as the following:

We can't activate Windows on this device as we can't connect to your organization's activation server. Make sure you're connected to your organization's network and try again. If you continue having problems with activation, contact your organization's support person. Error code: 0xC004F074.

Troubleshooting checklist

Check for connectivity to IP addresses 20.118.99.224 and 40.83.235.53

If you can connect successfully to KMS IP addresses 20.118.99.224 and 40.83.235.53 from your Windows VMs, you don't have to worry about this problem.

To check for connectivity to the new KMS IP addresses, follow these steps:

  1. Sign in remotely to your Windows VM.

  2. Open PowerShell.

  3. Run the following Test-NetConnection cmdlet calls to verify connectivity to new KMS IP addresses:

    Test-NetConnection azkms.core.windows.net -Port 1688Test-NetConnection 20.118.99.224 -Port 1688Test-NetConnection 40.83.235.53 -Port 1688

If the connections are successful, no more action is necessary. If one or more of the connections fail, review the following sections to determine the specific cause for your Windows VM activation failure.

Cause 1: Custom routes can't reach the KMS server

You previously followed the instructions in Windows activation fails in forced tunneling scenario to configure a custom route to connect to the Azure KMS server. However, because the KMS IP addresses have changed, the custom route can no longer connect to the KMS server.

Solution 1: Add the new KMS IP addresses to the custom route

Add KMS IP addresses 20.118.99.224 and 40.83.235.53 on port 1688 to your custom route by following the updated instructions in the Windows activation fails in forced tunneling scenario article.

Cause 2: The firewall is blocking access to the KMS server

You previously followed the instructions in Use Azure Firewall to protect Azure Virtual Desktop deployments to create an outbound network rule for your firewall. This network rule allowed your Windows VM to connect to the Azure KMS server. However, because the KMS IP addresses have changed, that rule no longer provides access to the correct KMS IP addresses.

Solution 2: Add the new KMS IP addresses as exceptions to the firewall rules

Change the network rule so that KMS IP addresses 20.118.99.224 and 40.83.235.53 on port 1688 are allowed outbound access through the firewall.

References

  • Generally available: New KMS DNS in Azure Global cloud

  • Key Management Services (KMS) activation planning operational requirements

  • Troubleshoot Azure Windows virtual machine activation problems

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.

Windows VM activation no longer works in Azure - Virtual Machines (2024)
Top Articles
How to Set up Two-Factor Authentication on iPhone
Important Tips For Teaching Kids About Money - From This Kitchen Table
Victor Spizzirri Linkedin
Skylar Vox Bra Size
13 Easy Ways to Get Level 99 in Every Skill on RuneScape (F2P)
Puretalkusa.com/Amac
Optum Medicare Support
414-290-5379
2024 U-Haul ® Truck Rental Review
Otterbrook Goldens
Quest Beyondtrustcloud.com
Enterprise Car Sales Jacksonville Used Cars
Theresa Alone Gofundme
Aucklanders brace for gales, hail, cold temperatures, possible blackouts; snow falls in Chch
Loves Employee Pay Stub
Why Is 365 Market Troy Mi On My Bank Statement
Craigslist Lakeville Ma
Att.com/Myatt.
Blue Rain Lubbock
Marine Forecast Sandy Hook To Manasquan Inlet
Ontdek Pearson support voor digitaal testen en scoren
Www Pointclickcare Cna Login
Cars & Trucks - By Owner near Kissimmee, FL - craigslist
When His Eyes Opened Chapter 3123
Cylinder Head Bolt Torque Values
Sinfuldeed Leaked
Dailymotion
Helloid Worthington Login
Gasbuddy Lenoir Nc
Craigslist Com Humboldt
Powerspec G512
Watchseries To New Domain
Deshuesadero El Pulpo
Walmart Car Service Near Me
Marcal Paper Products - Nassau Paper Company Ltd. -
Paperlessemployee/Dollartree
Huntsville Body Rubs
Tyco Forums
Unblocked Games 6X Snow Rider
Leland Westerlund
40X100 Barndominium Floor Plans With Shop
Abigail Cordova Murder
Aaca Not Mine
Nfsd Web Portal
Tyrone Dave Chappelle Show Gif
Fahrpläne, Preise und Anbieter von Bookaway
Gameplay Clarkston
Att Corporate Store Location
Obituary Roger Schaefer Update 2020
Unity Webgl Extreme Race
Texas Lottery Daily 4 Winning Numbers
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5809

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.