AVMA – Simplifying Offline Device Activation

AVMA can help in the ever-evolving world of IT, where managing software licenses across virtual machines (VMs) can be a daunting task, especially when dealing with offline devices. Traditional methods like Key Management Services (KMS) or Volume Activation Services (VAS) have served us well, but they come with limitations, particularly in disconnected environments. Enter Automatic Virtual Machine Activation a streamlined, efficient alternative that simplifies activation while addressing the unique challenges of offline devices.

The Challenge with Offline Devices

Offline devices, by their very nature, lack direct internet connectivity, making traditional activation methods cumbersome. KMS, for instance, requires a Volume License Service / KMS host server within the network, and devices must periodically connect to this server to maintain activation. This dependency on network connectivity can be a significant hurdle for isolated or remote environments.

Why it is a Game-Changer

AVMA is designed with simplicity and flexibility in mind, making it an ideal solution for activating VMs in both connected and disconnected environments. Here’s why Automatic Virtual Machine Activation stands out:

No Internet Required: Unlike KMS, Automatic Virtual Machine Activation does not rely on network connectivity for activation. It binds the VM activation to the licensed Hyper-V host, ensuring that VMs are activated automatically when they start up, regardless of their internet status.

Streamlined Management: With AVMA, there’s no need to manage individual product keys for each VM. The activation process is transparent and seamless, reducing administrative overhead.

Enhanced Security: AVMA eliminates the need to share product keys with tenants or access their VMs for activation. This not only simplifies the process but also enhances security by minimizing exposure to sensitive information.

Flexibility Across Versions: Automatic Virtual Machine Activation supports a wide range of Windows Server versions, ensuring compatibility and ease of use across different environments.

Real-Time Reporting: For IT administrators, AVMA provides real-time reporting on VM usage and license compliance, offering valuable insights without requiring access to the VMs themselves.

AVMA with Azure Stack HCI or any Hyper-V Host or Cluster
AVMA with Azure Stack HCI or any Hyper-V Host or Cluster

AVMA vs. KMS: A Comparative Look

FeatureAVMAKMS
Internet DependencyNot requiredRequired for periodic activation
Key ManagementNo individual keys neededRequires managing KMS host and keys
SecurityNo key sharing with tenantsKeys may need to be shared
CompatibilityBroad support for Windows Server VMsLimited to network-connected devices
Ease of UseAutomatic and transparent activationRequires setup and maintenance

Practical Applications

AVMA is particularly beneficial for:

  • Remote Locations: Activate VMs in isolated environments without the need for network connectivity.
  • Service Providers: Simplify activation for hosting providers without exposing product keys.
  • Failover Clusters: Ensure consistent activation across clustered Hyper-V hosts.

System requirements

The prerequisite for AVMA is a Windows Server Datacenter edition with the Hyper-V server host role installed. The versions that can be activated in a guest VM are determined by the Windows Server version of the host. The Guest VM versions that each Host version can activate are listed in the following table. A host version has access to all editions (Datacenter, Standard, or Essentials) of its eligible guest VM versions.

Server host versionWindows Server 2025 guest VMWindows Server 2022 guest VMWindows Server 2019 guest VMWindows Server 2016 guest VMWindows Server 2012 R2 guest VM
Windows Server 2025XXXXX
Windows Server 2022XXXX
Windows Server 2019XXX
Windows Server 2016XX
Windows Server 2012 R2X

Source: Microsoft Learn

How to activate AVMA on a Guest VM

Once you’ve got Windows Server up and running on your virtual machine, it’s time to activate it using an AVMA key. Just open an elevated Terminal Session, then enter:

slmgr /ipk <AVMA_key>

As long as your virtualization host is already activated, your VM will seamlessly activate itself—no extra steps needed.

To speed up and verify your license activation you can try these two commands:

#### manually activate Windows using the current license key ####
slmgr /ato
#### display Windows license information ####
slmgr /sli

Azure Stack HCI and AVMA

AVMA keys

Windows Server 2025

  • Datacenter – YQB4H-NKHHJ-Q6K4R-4VMY6-VCH67
  • Datacenter: Azure Edition – 6NMQ9-T38WF-6MFGM-QYGYM-88J4F
  • Standard – WWVGQ-PNHV9-B89P4-8GGM9-9HPQ4

Windows Server 2022

  • Datacenter – W3GNR-8DDXR-2TFRP-H8P33-DV9BG
  • Datacenter: Azure Edition – F7TB6-YKN8Y-FCC6R-KQ484-VMK3J
  • Standard – YDFWN-MJ9JR-3DYRK-FXXRW-78VHK

Windows Server 2019

  • Datacenter – H3RNG-8C32Q-Q8FRX-6TDXV-WMBMW
  • Standard – TNK62-RXVTB-4P47B-2D623-4GF74
  • Essentials – 2CTP7-NHT64-BP62M-FV6GG-HFV28

Windows Server version 1909, 1903 and 1809

  • Datacenter – H3RNG-8C32Q-Q8FRX-6TDXV-WMBMW
  • Standard – TNK62-RXVTB-4P47B-2D623-4GF74

Windows Server version 1803 and 1709

  • Datacenter – TMJ3Y-NTRTM-FJYXT-T22BY-CWG3J
  • Standard – C3RCX-M6NRP-6CXC9-TW2F2-4RHYD

Windows Server 2016

  • Datacenter – TMJ3Y-NTRTM-FJYXT-T22BY-CWG3J
  • Standard – C3RCX-M6NRP-6CXC9-TW2F2-4RHYD
  • Essentials – B4YNW-62DX9-W8V6M-82649-MHBKQ

Windows Server 2012 R2

  • Datacenter – Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
  • Standard – DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
  • Essentials – K2XGM-NMBT3-2R6Q8-WF2FK-P36R2

Conclusion

For IT administrators grappling with the complexities of offline device activation, AVMA offers a robust, efficient, and secure alternative to traditional methods like MAK or KMS. By eliminating the need for network connectivity and simplifying key management, AVMA not only streamlines operations but also enhances security and compliance.

As IT environments continue to evolve, embracing solutions like AVMA can make a world of difference, especially in scenarios where offline devices are a critical component. It’s time to rethink activation and embrace the future with AVMA.

If you want to get started today, try my guide to Hyper-V.

Important: In a failover cluster, each virtualization server host in the cluster must be activated for guest VMs to stay activated, regardless of which server they run on.

Spread the knowledge
Avatar for Andreas Hartig
Andreas Hartig - MVP - Cloud and Datacenter Management, Microsoft Azure

Related Posts

IT System Engineer Dragon Protect object from accidental deletion

The 2nd Thing to Enable in Every AD – Protect object from accidental deletion

Protect object from accidential deletion is your 1st line of protection, if you value your OU structure. The checkbox “Protect object from accidental deletion” stops both accidental deletes and moves….

Spread the knowledge
Read more
Dragon Active Directory Recycle Bin

The First Thing to Enable in Every AD – Active Directory Recycle Bin

The Active Directory Recycle Bin is not a “nice-to-have” in 2025 — it’s mandatory. It allows fast, attribute-preserving recovery of deleted AD objects without the pain of authoritative restores. It…

Spread the knowledge
Read more
Automation via Group Policyv2

Automation using Group Policy – Background

Automation using Group Policy is most likely the easiest step in your environment for custimzation. In one of the latest Blog articles we looked into “Group Policies and Group Policies…

Spread the knowledge
Read more
Shadowrun style cyber dragon Test Latency to Azure Regions 2025

Test Latency to Azure Regions 2025

Test Latency to Azure Regions, if users feel your app is “slow,” as nine times out of ten they’re feeling latency, not CPU. In Azure, that latency comes from three…

Spread the knowledge
Read more
Cyber dragon designs IT architecture and taking a risk among glowing screens

Windows Server 2025 Autologon: When and Why?

Windows Server 2025 Autologon is a challenging discussion. Learn why, when and how to enable Autologon in Windows Server 2025 safely, plus robust mitigation strategies. A reboot that lands on…

Spread the knowledge
Read more
Cyber dragon sits at a bright wooden desk coding on a Windows Server screen with stack of books

Group Policies and Group Policies Preferences (2025)

For Group Policies the time between Windows Server 2022 and Windows Server 2025 had a focus to move Group Policies and Group Policies Preferences towards being code-driven solution rather than…

Spread the knowledge
Read more