Licensing a Guest VM on Hyper V 2012 R2

Good Morning Experts,

I am having trouble licensing a new VM I created on our new Hyper V server.

We purchased 2012 R2 Datacenter so we could license all the guest VM's but how to activate them is confusing me.

I have done some research and came across this:
slmgr.vbs /ipk <AVMA_Client_Key>
I ran this with the appropriate code and it comes up with an error.  When I evaluate the error it says the code is wrong.

Am I suppose to license it with our DataCenter code or build a kms with our Datacenter code?

So confused, thank you for your help.

Karen
klsphotosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
A key is not a license.  The good news is if you have data center, you are licensed.  Getting the key installed is another matter.  

They keys you use are as follows:
Datacenter
Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
Standard
DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
Essentials
K2XGM-NMBT3-2R6Q8-WF2FK-P36R2

The above keys and instructions on using them are here:
https://technet.microsoft.com/en-us/library/dn303421.aspx

Do NOT use your key.  If you have further errors, please post screen shots - you shouldn't be posting anything private since the keys above are publicly available.
klsphotosAuthor Commented:
That's the one I tried and I get a error.  I tried multiple times and the same result.  I didn't try my own yet and I wouldn't post it.  I will do it again and post the screen shots.
klsphotosAuthor Commented:
keyerror.tiff

Here is the error I get after running that code.
Cliff GaliherCommented:
Can you visually verify that you installed 2012 R2 (that R2 is important) datacenter in both the host and guest? Only datacenter supports automatic VM activation (Aka AVMA)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
klsphotosAuthor Commented:
WELL!  Guess what just activated once I took a closer look and realized it wasn't R2!  I upgraded to R2 (this is a test Vm and nothing installed on it yet) and re ran the code.  Said it was successful.  Thank you so much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.