1 ott 2017

Hyper-V 2012 R2 - 2016: Automatic Virtual Machine Activation

#Note
Automatic Virtual Machine Activation ( AVMA ) is a feature that was introduced in Windows Server 2012 R2. AVMA simply binds the VM activation to the licensed virtualization server and activates the VM when it starts up. This way it is eliminates the need to enter licensing information and activate each VM individually.

AVMA requires that the host is running Windows Server 2012 R2 Datacenter or later and that the guest virtual machine OS is Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard, or a later version.

#Product affected / related
Windows Server 2012 R2 and later with Hyper-V role

#Solution
Once the Hyper-V host is activated and the guest VMs are running (without activation of course), the only  step required is to install the AVMA client key on the guest VMs (Data Center or Standard). To manually install the key using the command line, please use the following syntax from an elevated Command Prompt inside the guest OS:

C:\>slmgr.vbs /ipk <AVMA Key>

The following AVMA are public keys that can be used for Windows Server 2012 R2:

Edition                                 AVMA key 
Datacenter                         Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
Standard                             DBGBW-NPF86-BJVTX-K3WKJ-MTB6
Essential                              K2XGM-NMBT3-2R6Q8-WF2FK-P36R2

The following AVMA are keys that can be used for Windows Server 2016:

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