If you have multiple Hyper-V hosts, it can be a pain to keep track of the Windows Server 2012 R2 keys for the guest VMs. Instead of using typical activation methods, you can use Automatic Virtual Machine Activation (AVMA).
AVMA activates a guest VM against the Hyper-V host instead of typical Microsoft activation methods. This means that the VM can be completely isolated without access to the Internet or other network and still be activated.
You can use AVMA guest VMs running:
- Windows Server 2012 R2 Essentials
- Windows Server 2012 R2 Standard
- Windows Server 2012 R2 Datacenter
For each guest operating system you enter in a generic AVMA license key. The generic license keys are:
- Datacenter - Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
- Standard - DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
- Essentials - K2XGM-NMBT3-2R6Q8-WF2FK-P36R2
slmgr /ipk AVMAlicensekeyTo monitor AVMA licensing requests on the Hyper-V host, look for Event ID 12310. On the guest VMs look for Event ID 12309.
UPDATE: Microsoft link that also includes AVMA keys for Windows Server 2016