Link to home
Start Free TrialLog in
Avatar of Filip Heens
Filip HeensFlag for Belgium

asked on

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

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
Avatar of themrrobert
themrrobert
Flag of United States of America image

2 ideas: 1) Try to set up again, but type the key manually, don't copy/paste.
2) Set up with non-express mode. (Unattend is used by default  unless non-express mode is selected, and Windows isn't perfect so sometimes weird things happen)


Also try disabling the floppy disk or any other external media that isn't required for the upgrade.

You may also want to check if there are any unattend files located on the machine windows may be trying to load by default, and then remove the lines in there with relation to product keys
Avatar of Filip Heens

ASKER

Hi Robert,

thanks but ... ;-)

1. I tried it several times Always the same error.
2. I don't even get to the place where I can type the key... so that isn't an option neither :(

All I do is doubleclick setup from an extracted VL ISO file

I do however just had an idea, I disable all NIC exept for one that has Internet access (not all do have acces as this is a Hyper-V server. maybe that will do it. keep you posted...
already back...
That didn't do it neither, still the same error :(
There is definitely an Unattend file as part of the iso, that's how they work, so if you can find it and remove the lines about Product Key then it should prompt you for one and you can type it there.

It might be called something different, try poking around the config and ini files on the setup iso, and hopefully that  will give you more info.

If all else fails, contact Microsoft. They give free phone support for somethings, probably this is covered.
I've been trying to find the unattend file, but haven't found it yet.
I'll call MS monday, still have a call left in the OL + SA ;-) so I'll just use that if it isn't free...
Keep you posted on, what they say, but if anyone should have an other idea or solution before then... ;-)
ASKER CERTIFIED SOLUTION
Avatar of Filip Heens
Filip Heens
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i should award the 500pts to ms ;-)