Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

Automatic Virtual Machine Activation in Hyper-V in Windows Server

May 17, 2024
in Blog, Hyper-V
0
ADVERTISEMENT

Table of Contents

Let’s say that you have your Hyper-V host running Windows Server and now you’ve configured a few guests’ virtual machines also running Windows Server, the question is how do you activate these virtual machines?

Automatic Virtual Machine Activation (AVMA) acts as a proof-of-purchase mechanism, helping to ensure that Windows products are used in accordance with the Product Use Rights and Microsoft Software License Terms.

System requirements

  • For a virtualization server host to run guest VMs, you must activate it
  • AVMA requires a Windows Server Datacenter edition with the Hyper-V server host role installed. The Windows Server version of the host determines which versions it can activate in a guest VM. A host version can access all the editions (Datacenter, Standard, or Essentials) of its eligible guest VM versions.
  • AVMA does not work with other server virtualization technologies.

Guest Operating Systems are Eligible for AVMA

There are a few rules that dictate which guests are covered by AVMA:

  • Only Windows Server guests are covered by AVMA. No desktop operating systems are covered by any Windows Server guest virtualization right, so AVMA will not activate them.

It might be simpler with tabular data. To keep the table simple, any operating system not shown is not eligible for AVMA:

COiV7v7QN86kDMznw6uxLq1waNyzT4x9yaPufx6chWF1ZXAhUz8K17WT1faN

How Does AVMA Work?

AVMA automatically runs on every installation of Windows Server Datacenter with Hyper-V; no additional actions are required. Multiple components collaborate to enable AVMA, and they operate autonomously.

  • Windows Server Datacenter Edition, as the management operating system, hosts a feature that monitors all virtual machines.
  • The Integration Services include a Windows driver that implements most important parts of the guest-side functionality.
  • AVMA lets you install virtual machines on a properly activated Windows server without having to manage product keys for each individual virtual machine, even in disconnected environments.
  • AVMA binds the virtual machine activation to the licensed virtualization server and activates the virtual machine when it starts up.
  • You don’t need to buy any new license or to setup a KMS server. They are free because included in your Datacenter license.

JKjLzBzh4yZnn3IGVJDS77wUpShkcb9jhJFgHnsRxCg0PdQfrIqf2Tay50wY

How to implement AVMA

To activate VMs with AVMA, you use a generic AVMA key (detailed in AVMA keys) that corresponds to the version of Windows Server that you want to activate.

To install the AVMA key on the VM. From PowerShell or an elevated command prompt, run the below command. The VM automatically activates, providing that the virtualization host itself is activated.

Example to activate Windows Server 2022 Standard in an Hyper-V guest:

slmgr /ipk 'YDFWN-MJ9JR-3DYRK-FXXRW-78VHK'
Note Note: The AVMA key can also be provided during an Unattended setup using a unattend.exe setup file. In this way the key is already injected during the build phase of that particular VM.

You can verify the correct installation of the AVMA key, by opening All settings – Update & Security – Activation in the VM.

WDTlj0RuqvznMld7eX1qIG03cGxI76pxxErd6TTudOmB4IMAu8IWNNcP1rAO

Alternatively, we can check the license by using the following command:

slmgr /dlv
y9TUVKS8j1DL0Qqe5rvQAigUcXQVu1d8QDdRWg7IbYSJBWRGWk1f4EpZ70T0

As you can see, the license is only valid for 7 days. Don’t panic, Windows will periodically reactivate itself, just make sure that the license on your Hyper-V is always validated.

Since the AVMA activation process is transparent, error messages aren’t displayed. However, AVMA requests are also logged on the virtualization host in Event Viewer in the Application log with Event ID 12310, and on the VM with Event ID 12309. The following events are captured on the VMs:

ChkshEbHC6jxiDh4SkYkrw7orsNVdMj1hlZGktqgIoIKHHqPFRnXpdvSKanr
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Enable or Disable Automatic Checkpoints in Hyper-V

Next Post

Automatic Create an RDP Connection to Azure VM After the Deployment Has Completed

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024

How to Remove The Test Mode Watermark Without Disabling Test Mode

July 28, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory