troubleshooting Question

Windows upgrade fails because the unattend file contains an invalid product key, but I'm not using an unattend file

Avatar of Filip Heens
Filip HeensFlag for Belgium asked on
Windows Server 2008Windows Server 2012
7 Comments1 Solution2888 ViewsLast Modified:
Hi,

I hope some has got any idea about what could be wrong.
I'm trying to upgrade a Windows 2008 to Windows 2008R2 or Windows 2012 (same error on both upgrades)
When I start an inplace upgrade of the Windows 2008 (with the only role installed is HyperV) I'm getting this error.

The unattend answer file conatins an invalid product key. Either remove the invalid key or provide a valid key in the unattend answer file to proceed with Windows installation.

Strange thing however is that im not using any unattend file at all.
At tfirst I thought it was because I had an OEM server installed, so I tried to "upgrade" this to a VL installation. But just changing the product key gave me the following error.

Activation unsuccesful error 0x80077ee2

I also tried it via an elevated command promt with the command

slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx, but that gave me an access denied error.

When I used my old OEM key again it did work.
So I tried it again with the VL key, again the same error.

So this time I opened a dosprompt and used the slui 4 command to active the VL by Phone.
No problem, it activated fine.
So I again tried to do an inplace upgrade but again the same error

The unattend answer file conatins an invalid product key. Either remove the invalid key or provide a valid key in the unattend answer file to proceed with Windows installation.

I'm not behind a proxy or TMG server.
Does anybody has a clue on how I could do the upgrade?
I have had no problems activating any VM running 2008R2 with this key and I only have activated 4 servers with this key, so that can't be the problem neither
ASKER CERTIFIED SOLUTION
Filip Heens

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros