I tried to activate the Windows 2012 R2 STD edition VM (my Hyper V server is also Windows 2012 R2 STD edition) using AVMA keys using the following commands (in elevated cmd)
slmgr /ipk DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
cd C:\windows\system32
cscript slmgr.vbs /ato
Then I got 0xC004FD03 error and activation failed.
After that I tried to activate using the OEM key of the Hyper V server.
slmgr /upk
slmgr /ipk <OEM Key>
slmgr /ato
Then I got 0xc004c008 error and activation failed.
Please advise on this and thanks.