You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-local/manage/vm-activate.md
+39-50Lines changed: 39 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: Activate Windows Server VMs using Automatic Virtual Machine Activation
3
-
description: This article explains the benefits of using Automatic Virtual Machine Activation over other activation methods and provides instructions on setting up this optional feature on Azure Local.
2
+
title: Activate Windows Server VMs on Azure Local
3
+
description: This article explains the benefits of using Automatic Virtual Machine Activation and provides instructions on setting up this optional feature on Azure Local.
4
4
author: alkohli
5
5
ms.author: alkohli
6
6
ms.topic: how-to
7
-
ms.date: 12/03/2024
7
+
ms.date: 01/21/2025
8
8
ms.service: azure-local
9
9
---
10
10
11
-
# License Windows Server VMs on Azure Local
11
+
# Activate Windows Server VMs on Azure Local
12
12
13
-
> Applies to: Azure Local, versions 23H2 and 22H2; Windows Server 2022, Windows Server 2019 Datacenter Edition and later
13
+
> Applies to: Azure Local, versions 23H2 and 22H2
14
14
15
-
Windows Server virtual machines (VMs) must be licensed and activated before you can use them on Azure Local. You can use any existing Windows Server licenses and activation methods that you already have. Optionally, Azure Local offers new licensing models and tools to help simplify this process. This article describes general licensing concepts and the new options that are available on Azure Local.
15
+
Windows Server virtual machines (VMs) must be activated before you can use them on Azure Local. You can use any existing Windows Server licenses and activation methods that you already have. Optionally, Azure Local offers licensing models and tools to help simplify this process. This article describes general licensing concepts and the new options that are available on Azure Local.
16
16
17
17
## Summary
18
18
@@ -22,15 +22,15 @@ The following figure shows the different Windows Server VM licensing options:
22
22
23
23
First, choose one of two options:
24
24
25
-
-**Windows Server subscription**: Subscribe to Windows Server guest licenses through Azure. Available for Azure Local only.
26
-
-[**Azure Hybrid Benefit (AHB)**](/windows-server/get-started/azure-hybrid-benefit): Use qualifying on-premises licenses to get Windows virtual machines (VMs) on Azure at a reduced cost.
25
+
-**Windows Server subscription**: Subscribe to Windows Server guest licenses through Azure. Available for Azure Local only as an add-on.
26
+
-[**Azure Hybrid Benefit (AHB)**](/windows-server/get-started/azure-hybrid-benefit): Use qualifying on-premises licenses to get Windows Server VMs on Azure Local at a reduced cost.
27
27
28
28
For more information, see [Compare options](#compare-options).
29
29
30
30
Next, activate your Windows Server VMs:
31
31
32
-
- If you're using Windows Server subscription, AVMA is automatically enabled on the host. You can immediately activate VMs against the system using generic AVMA client keys.
33
-
- If you're using AHB, you must use the corresponding keys associated with your license and apply them using your chosen activation method. One of the most convenient ways is to use *Automatic VM Activation* (AVMA).
32
+
- If you're using Windows Server subscription, AVMA is automatically enabled on the host. You can immediately activate VMs against the system using [generic AVMA client keys](/windows-server/get-started/automatic-vm-activation?tabs=server2025#avma-keys).
33
+
- If you're using AHB, you must use the corresponding keys associated with your license and apply them using your chosen activation method. One of the most convenient ways is to use *Automatic VM Activation* (AVMA) by enabling Windows Server subscriptions.
34
34
- To use other methods to activate VMs, see [Key Management Services (KMS) activation planning](/windows-server/get-started/kms-activation-planning).
35
35
36
36
## Compare options
@@ -39,24 +39,23 @@ Choose the deployment option that best suits your needs:
39
39
40
40
| Question | Windows Server subscription | Azure Hybrid Benefit (AHB) |
41
41
|--|--|--|
42
-
| What versions of WS VMs do you want to use? | Evergreen – all versions up to the latest version. | All versions up to the latest version - includes versions of Windows Server that are supported by Azure Local. Specifically, the benefit is extended to Azure Local version 23H2 or 22H2. |
42
+
| What versions of WS VMs do you want to use? | Evergreen – all versions up to the latest version. | All versions up to the latest version - includes versions of Windows Server that are supported by Azure Local. Specifically, the benefit is extended to Azure Local version 22H2 or later. |
43
43
| Does this option also allow me to use Windows Server: Azure edition? | Yes. | Need to have both Software Assurance (SA) and WS volume license keys. |
44
-
| How do I activate my WS VMs? | No host-side keys – AVMA is automatically enabled. After it's enabled, you can then apply the generic AVMA keys on the client side. | To activate this benefit, you must exchange your 1-core license of Software Assurance-enabled Windows Server Datacenter for 1-physical core of Azure Local. For detailed licensing requirements, see [Azure Hybrid Benefit for Windows Server](/windows-server/get-started/azure-hybrid-benefit?tabs=azure#getting-azure-hybrid-benefit-for-azure-stack-hci). |
44
+
| How do I activate my WS VMs? | No host-side keys – AVMA is automatically enabled. After it's enabled, you can then apply the [generic AVMA client keys](/windows-server/get-started/automatic-vm-activation?tabs=server2025#avma-keys) on the client side. | To activate this benefit, you must exchange your 1-core license of Software Assurance-enabled Windows Server Datacenter for 1-physical core of Azure Local. For detailed licensing requirements, see [Azure Hybrid Benefit for Windows Server](/windows-server/get-started/azure-hybrid-benefit?tabs=azure#getting-azure-hybrid-benefit-for-azure-stack-hci). |
45
45
| What are the CAL requirements? | No CAL required – included in WS subscription. | No CAL required – included in SA/WS subscription. |
46
-
| What is the pricing model? | Per physical core/per month pricing, purchased and billed through Azure (free trial within the first 60 days of registering your Azure Local). For details, see [Pricing for Windows Server subscription](https://azure.microsoft.com/pricing/details/azure-stack/hci/). | This benefit waives the Azure Local host service fee and Windows Server guest subscription fee on your system. Other costs associated with Azure Local, such as Azure services, are billed as normal. For details about pricing with Azure Hybrid Benefit, see [Azure Local pricing](https://azure.microsoft.com/pricing/details/azure-stack/hci/). |
46
+
| What is the pricing model? | Per physical core/per month pricing, purchased and billed through Azure (free trial within the first 60 days of registering your Azure Local). For details, see [Pricing for Windows Server subscription](https://azure.microsoft.com/pricing/details/azure-local/). | This benefit waives the Azure Local host service fee and Windows Server guest subscription fee on your system. Other costs associated with Azure Local, such as Azure services, are billed as normal. For details about pricing with Azure Hybrid Benefit, see [Azure Local pricing](https://azure.microsoft.com/pricing/details/azure-local/). |
47
47
48
48
### Guest versions
49
49
50
50
The following table shows the guest operating systems that the different licensing methods can activate:
51
51
52
-
| Version | AHB Windows Server 2019 license | AHB Windows Server 2022 license | Windows Server subscription |
53
-
|--|--|--|--|
54
-
| Windows Server 2012/R2 | X | X | X |
55
-
| Windows Server 2016 | X | X | X |
56
-
| Windows Server 2019 | X | X | X |
57
-
| Windows Server 2022 || X | X |
58
-
| Windows Server 2022: Azure Edition | Requires Software Assurance | Requires Software Assurance | X |
59
-
| Future editions (Evergreen) ||| X |
52
+
| Version | AHB Windows Server 2019 license | AHB Windows Server 2022 license | AHB Windows Server 2025 license |Windows Server subscription |
53
+
|--|--|--|--| -- |
54
+
| Windows Server 2016 | X | X | X | X |
55
+
| Windows Server 2019 | X | X | X | X |
56
+
| Windows Server 2022 || X | X | X |
57
+
| Windows Server 2025 ||| X | X |
58
+
| Future Windows Server editions (Evergreen) |||| X |
60
59
61
60
## Activate Windows Server subscription
62
61
@@ -71,7 +70,7 @@ When Windows Server subscription is purchased, Azure Local machines retrieve lic
71
70
### Windows Server subscription prerequisites
72
71
73
72
- An Azure Local instance
74
-
-[Install updates](update-cluster.md): Version 21H2, with at least the December 14, 2021 security update KB5008210 or later.
73
+
-[Install updates](update-cluster.md): Version 22H2 or later.
75
74
-[Register Azure Local](../deploy/register-with-azure.md?tab=windows-admin-center#register-a-cluster): All machines must be online and registered to Azure.
76
75
77
76
- If using Windows Admin Center:
@@ -84,10 +83,19 @@ You can enable Windows Server subscription through different methods. Select one
84
83
### [Azure portal](#tab/azure-portal)
85
84
86
85
1. In your Azure Local resource page, navigate to the **Configuration** screen.
87
-
2. Under the feature **Windows Server subscription add-on**, select **Purchase.** In the context pane, select **Purchase** again to confirm.
88
-
3. When Windows Server subscription has been successfully purchased, you can start using Windows Server VMs on your system. Licenses take a few minutes to be applied on your system.
1. For Azure Hybrid Benefit, you must [activate Azure Hybrid Benefit](../concepts/azure-hybrid-benefit.md?tabs=azure-portal) and then select **Activate benefit**.
1. When the Windows Server subscription add-on has been successfully purchased, you can start using Windows Server VMs on your system using [generic AVMA client keys](/windows-server/get-started/automatic-vm-activation?tabs=server2025#avma-keys).
@@ -159,7 +167,7 @@ Launch [Azure Cloud Shell](https://shell.azure.com/) and use Azure CLI to config
159
167
160
168
**Remediation**: Your system doesn't have the latest status on Windows Server subscription - for example, you enrolled or canceled and therefore may not have retrieved the licenses to set up AVMA. In most cases, the next cloud sync will resolve this error. For faster resolution, you can sync manually. For more information, see [Syncing Azure Local](../faq.yml#how-often-does-azure-local-sync-with-the-cloud).
161
169
162
-
## Activate VMs against a host machine
170
+
###Activate VMs against a host machine
163
171
164
172
Now that AVMA is enabled through Windows Server subscription, you can activate VMs against the host machine by following the steps in [Automatic Virtual Machine Activation in Windows Server](/windows-server/get-started/automatic-vm-activation).
165
173
@@ -177,33 +185,14 @@ VM activation through host machines presents several benefits:
177
185
- License management is simplified. Instead of having to true-up key usage counts for individual VMs, you can activate any number of VMs with just a properly licensed machine.
178
186
- AVMA acts as a proof-of-purchase mechanism. This capability helps to ensure that Windows products are used in accordance with product use rights and Microsoft software license terms.
179
187
180
-
Take a few minutes to watch the video on using Automatic Virtual Machine Activation in Windows Admin Center:
181
-
182
-
> [!VIDEO 65545cda-9e79-413b-9cd0-116a51de0c18]
183
-
184
-
### AVMA prerequisites
185
-
186
-
Before you begin:
187
-
188
-
- Get the required Windows Server Datacenter keys:
189
-
-**Key editions:** Windows Server 2019 Datacenter or later. For information about what guest versions your key activates, see [Guest versions](#guest-versions).
190
-
-**Number of keys:** One unique key for each host machine you are activating, unless you have a valid volume license key.
191
-
-**Consistency across system:** All machines in a system need to use the same edition of keys, so that VMs stay activated regardless of which machine they run on.
192
-
193
-
- Azure Local (version 20H2 with the June 8, 2021 cumulative update or later).
194
-
- Windows Admin Center (version 2103 or later).
195
-
- The Cluster Manager extension for Windows Admin Center (version 1.523.0 or later).
196
-
197
-
> [!NOTE]
198
-
> For VMs to stay activated regardless of which machine they run on, AVMA must be set up for each machine in the system.
199
188
200
189
### Set up AVMA
201
190
202
191
You can set up AVMA through different methods. Select one of the following tabs based on your preferred method.
203
192
204
193
### [Azure portal](#tab/azure-portal)
205
194
206
-
Use either Windows Admin Center or PowerShell to set up AVMA.
195
+
To set up AVMA, see [Activate Azure Hybrid Benefit](../concepts/azure-hybrid-benefit.md?tabs=azure-portal#activate-azure-hybrid-benefit).
207
196
208
197
### [Azure CLI](#tab/azurecli)
209
198
@@ -213,6 +202,10 @@ Use either Windows Admin Center or PowerShell to set up AVMA.
213
202
214
203
You can use Windows Admin Center to set up and manage product keys for your Azure Local.
215
204
205
+
Take a few minutes to watch the video on using Automatic Virtual Machine Activation in Windows Admin Center:
206
+
207
+
> [!VIDEO 65545cda-9e79-413b-9cd0-116a51de0c18]
208
+
216
209
#### Apply activation keys
217
210
218
211
To use AVMA in Windows Admin Center:
@@ -347,10 +340,6 @@ You can update to newer versions of keys, or replace existing keys with the same
347
340
348
341
You must [add activation keys](#change-or-add-keys-later-optional) for each new machine, so that the Windows Server VMs can be activated against the new machine. Removing a machine doesn't affect how AVMA is set up for the remaining machines in the system.
349
342
350
-
### I previously purchased a Windows Server Software-Defined Datacenter (WSSD) solution with a Windows Server 2019 key. Can I use that key for Azure Local?
351
-
352
-
Yes, but you'll need to use keys for Windows Server 2022 or later, which will be available after the general availability of Windows Server 2022.
0 commit comments