Windows Product Key string for sysprep

Latest response

Hey,

I created a windows server 2008 R2 template - all went well up to the end when I try and enter the product key for 2008 R2 server.

The example lab says to use

rhevm-config -s ProductKeyWindow7x64=”enter your key here”

and when I put "enter your key here", it doesn't work LOL, no that's not the problem!

I am using server 2008 R2 I found ProductKey2008R2 in another document and tried it, but I get:

[root@UKwatRHEV-M ovirt-engine]# rhevm-config -s ProductKey2008R2="enter your key here (not to publish my key!)"
Error setting ProductKey2008R2's value. No such entry.

So just wondering! is that key right? am I doing something wrong??

Thanks for the help!

Bill

Responses

That rhevm-config command is working for me on RHEV 3.3.

[root@rhevm ~]# rhevm-config -s ProductKey2008R2="enter your key here (not to publish my key)"
[root@rhevm ~]# rhevm-config -a | grep ProductKey2008R2
ProductKey2008R2: enter your key here (not to publish my key) version: general
[root@rhevm ~]# 
[root@rhevm ~]# rhevm-config -l | grep ProductKey2008R2 
ProductKey2008R2: "Product Key (for Windows 2008 R2)" (Value Type: String)
[root@rhevm ~]# 

ok, thanks, I am using 3.4, and your post led me to:

[root@UKwatRHEV-M ovirt-engine]# rhevm-config -l | grep 2008R2
ProductKey2008R2: "Product Key (for Windows 2008 R2)" (Value Type: String)

and then

[root@UKwatRHEV-M ovirt-engine]# rhevm-config -g ProductKey2008R2
Error fetching ProductKey2008R2 value: no such entry with default version.

and still getting

[root@UKwatRHEV-M ovirt-engine]# rhevm-config -s ProductKey2008R2="XFF6P-M6CM6-7JG4V-DX3DJ-4PQ78"
Error setting ProductKey2008R2's value. No such entry.

do I need some sort of version info with 3.4? or is this a bug?

oops...

https://bugzilla.redhat.com/show_bug.cgi?id=1119939

no longer supported in 3.4 and found in

/etc/ovirt-engine/osinfo.conf.d/10-productkeys.properties

Documents need updating

accept the properties file name is wrong...I found productkey settings in the 00-defaults.properties

assuming it is going to work

Hi Bill,

Sorry to hear of your frustration - I'll pass this one on to the documentation team and see if there is any clarification we can add there.

Kind regards,

Andrew

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.