Windows 10 Setup failed to validate the product key

Today trying to Upgrade my windows 7 Professional to Windows 10 Professional.

First I created and DVD boot disk with the ISO found that to be my first mistake.
You can install from booting up the Windows 10 DVD.

So started back up my Windows 7 Pro machine and proceeded by double clicking on the setup icon.

Setup starts then I get the main page I check not now to the check updates then click next

After a short while I get this every time see attached image


I found some articles in my research to change ei.cfg

I found that I had no ei.cfg file on my iso image

I created an ei.cfg as this

[EditionID]
Professional

[Channel]
Retail

[LV]
0

Open in new window


Extract the ISO image to a jump drive and placed the ei.cfg in the Sources folder

I ran this in PowerShell

PS C:\> Dism /Online /Get-CurrentEdition

Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7601.18489

Current edition is:

Current Edition : Professional

The operation completed successfully.
PS C:\>



What am I missing?


Thoughts
Win10-setup.png
LVL 23
Thomas GrassiSystems AdministratorAsked:
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.

JohnBusiness Consultant (Owner)Commented:
It is not that hard.

Is your Windows 7 machine running properly?

If so, go to:  http://www.microsoft.com/en-us/software-download/windows10

Download and run the upgrade and it will install.

Command and powershell are overkill. Just upgrade.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

No Luck Same error


Is your Windows 7 machine running properly?     Yes it works great no issues all current updates.

It is part of a Windows 2012 Domain also

Using the MediaCreationToolx64
Selected upgrade this pc now now

Downloaded checked for updates started the preparing process

Then bang "Setup failed to validate the product key"

Another MS blunder?


 Thoughts
0
JohnBusiness Consultant (Owner)Commented:
I don't think you can do a free upgrade from a domain-connected Windows 7 machine.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Thomas GrassiSystems AdministratorAuthor Commented:
John

Where does it say that? I researched this and was only Licensing requirements.

They have a Professional version of Windows 10 that is able to connect to a domain.

Why would you think that?

That does not sound good.

Thoughts
0
JohnBusiness Consultant (Owner)Commented:
You need to log into the Windows 7 machine as local administrator to permit the upgrade to work.

Please read down the following article to the section on domain-connected machines as there are a number of considerations.

https://redmondmag.com/articles/2015/06/03/windows-10-upgrade-possibilities.aspx

Please let us know.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

I was able to logon locally with an administrator account

Same exact error.

Also read that there was going to be a new iso to download for domain computers.

I am thinking something is wrong with this iso that downloads

As per my first post about ei.cfg file


Thoughts
0
JohnBusiness Consultant (Owner)Commented:
Try my link above as Local Administrator and see if that works. I have used that link to upgrade.

On one machine, disjoin the machine from the domain, upgrade with the link I suggest, and rejoin the domain. Does that work?

If no to all, then there may be a fix from Microsoft.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

The link above just takes you to the same site which download the media tool

Disjoin a computer from the domain has issues that I wish not to have at this time

I guess Microsoft lied again about being free

Validating a product key before installing is a joke and is poor programming

Most programs I install ask for registration after the install

They have really messed this process up

Need solution
0
JohnBusiness Consultant (Owner)Commented:
I think I read that Microsoft had not intended Windows 10 to be free to businesses, only individuals. So that may be the licensing issue and I have not seen whether Microsoft intends to address this or not.

You might try one machine, purchasing an upgrade and see if that works.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

this article does not say that

http://www.microsoft.com/en-us/windows/windows-10-faq

All I see is that you have a valid product

Here is a thought

My machine came from Dell with Windows 7 Home

I then purchased Windows 7 Professional Full retail version

Wiped my system and installed Windows 7 Pro  have SP1


Thoughts?
0
JohnBusiness Consultant (Owner)Commented:
The link is not accessible as a public link.

If you wiped the system clean and installed PRO and then joined it to a domain, then it should be a good base to upgrade.

I can only suggest disjoin and upgrade at this point to see if the machine will upgrade. There may be some other issue preventing it.

I know for individual machines the upgrade works because I have done it.
0

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
Thomas GrassiSystems AdministratorAuthor Commented:
John Update

I will try to disjoin this computer over the weekend see what happens

Tom
0
JohnBusiness Consultant (Owner)Commented:
Thomas - I read your post in:

http://www.experts-exchange.com/questions/28708243/Windows-7-Pro-to-Windows-10-Pro-Fresh-Install-without-in-place-Upgrade.html

My post above is a suggestion because I do not know what is stopping the upgrade based on what you have written above.
0
David Johnson, CD, MVPOwnerCommented:
Validating a product key before installing is a joke and is poor programming
Most programs I install ask for registration after the install

Validating the product key and collecting the hardware signature are parts of the process.  Would you rather know from the start about a problem or after everything has changed and time wasted that you have a problem.  This is the pre-requisite check.

The free upgrade checks that the currently installed software is genuine, collects the hardware information generates a 'product key' this is stored at Microsoft and is used for subsequent installations.
0
Thomas GrassiSystems AdministratorAuthor Commented:
Dave

Yes with all that aside how do I install this upgrade?

Thanks
0
JohnBusiness Consultant (Owner)Commented:
Are you saying you disjoined from the domain and it still did not install?
0
David Johnson, CD, MVPOwnerCommented:
do you have the get windows 10 icon in your taskbar?
you might have a hardware incompatibility that is stopping the upgrade.  This is one reason for the staged roll-out as hardware vendors and microsoft work to resolve this.
You also may have a windows problem that is hiding under the surface that an over install of the current O/S and then a subsequent win 10 upgrade will then work.  This has worked for me in solving previous problems.

First thing though I'd check and remove the following hidden folders
 C:\$Windows.~BT and C:\$Windows.~WS if they exist and clear your temporary files
cd %temp%
del * /s/q

Windows keeps a log of files in $Windows.~BT and if you look through them you will find the problem
0
Thomas GrassiSystems AdministratorAuthor Commented:
Dave

I deleted all but five files

I could not find c:\$Windows.~BT or C:\$Windows.-WS


Thoughts?
0
David Johnson, CD, MVPOwnerCommented:
these are system hidden files are you sure?
0
JohnBusiness Consultant (Owner)Commented:
Windows BT will be there if Windows has tried to start or is completing the download. If it is not there, then it is not trying to download Windows 10.

Although it is not a perfect solution, disjoin, go to the Windows 10 download site and kick off the download that way.
0
Thomas GrassiSystems AdministratorAuthor Commented:
Guys

Found the two Hidden folders "c:\$Windows.~BT or C:\$Windows.-WS"

Deleted both of them then ran the MediaCreationToolx64


I really thought we had it, This time it went thru many phases it then got to Preparing your Computer and guess what

Yes the same exact Error  Setup failed to validate the product key

See attached

Thoughts
Windows-10-Setup-Error.png
0
David Johnson, CD, MVPOwnerCommented:
MediaCreationToolx64 WHY

why didn't you just run setup from the media you already have?
check the logs in $windows.~BT
0
Thomas GrassiSystems AdministratorAuthor Commented:
Dave

Tried from the ISO download I made on my USB drive

Same error

What log file?

I attached them


Do these help?
diagerr.xml
diagwrn.xml
setupact.log
setuperr.log
0
David Johnson, CD, MVPOwnerCommented:
[i]2015-08-25 00:08:53, Error                 MOUPG  CSystemHelper::CheckConnectedStandby(642): Result = 0x80070057
2015-08-25 00:09:30, Error                        SPGetWIMImageInfo: Failed to extract software hive from WIM image. Error: 0x80070522[gle=0x00000522]
2015-08-25 00:09:30, Error                        Failed to get image information for F:\Sources\Install.wim, image 1. Error: 0x80070522[gle=0x00000012][/i] 

Open in new window

your image is corrupt
0
Thomas GrassiSystems AdministratorAuthor Commented:
Dave

Will download again see what happens
0
Thomas GrassiSystems AdministratorAuthor Commented:
Dave

Downloaded ISO again burned new DVD  Same results

See logs attached again

Which one did you find the errors in before?


Thanks
diagerr.xml
diagwrn.xml
setupact.log
setuperr.log
0
JohnBusiness Consultant (Owner)Commented:
It may be your computer is not compatible to upgrade. I upgraded an older machine for which some devices are too old for Windows 10 but it upgraded. If you cannot upgrade, it may not be possible.
0
Thomas GrassiSystems AdministratorAuthor Commented:
I don't think so

Where can you find comparability info

We had it for windows 7

My machine runs windows 7 pro 64 bit

Should be no problem running windows 10
0
JohnBusiness Consultant (Owner)Commented:
What I do not understand is this:

If you computer is compatible, and if you disjoin from domain, and then if you go to the link I posted and run the upgrade, then Windows 10 will install. I have done it.  Follow both steps above.

So then why not you?
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

If I disjoin the domain do you think I can use the ISO file I placed on the DVD?

Or the mediacreationtool method?

Which link are talking about I see a few here

Thanks
0
JohnBusiness Consultant (Owner)Commented:
I suggest you try:  http://www.microsoft.com/en-us/software-download/windows10  as that link did work for me and upgrade successfully.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

Just checked the link above

It is the one that you download the MediaCreationTool

I have this program already

So I will disjoin my computer on Saturday to try this method again

My computer meets the requirements

Pentuim(R) Dual-Core CPU E5400 @ 2.70GHz
Memory 8 GB
64 Bit OS


according to Dave's Post my media was corrupted based on the error logs I posted.

I posted more logs after I created new media was hoping if someone could check to see what's up


Thanks
0
JohnBusiness Consultant (Owner)Commented:
I opened the link and just Ran the installer directly. It may have downloaded first, but I am not  certain. I know I did not download, save and run from the download.

Let us know how it works for you,
0
Cliff GaliherCommented:
I've reviewed your logs and here's the core problem:

The upgrade process will look for your existing key and inject it into the install.wim of the upgrade media. This is how it verifies that your existing OS is genuine and can be upgraded. This all plays into the point that the upgrade is only free for a year, is tied to a machine, and enterprise edition is not covered (among other things.)

Now here's the rub. The installer is mounting the install.wim and is attempting to load the registry hive and failing. That *could* be corrupt media, but it is far more likely that the user account you are running setup as does not have appropriate permissions to do this action. Keep in mind that NTFS permissions are separate for read and write (and create, etc) so a user can have permissions to download and write the installer files, but then due to inheritance, not have permissions to read those same files.

This looks to me like a simple permissions issue through and through. You should try running this with the local admin account directly from the downloader. If that fails, it could be a group policy that has restricted your permission (even disjoining the domain does not remove existing permissions tattoos), or it could be someone manually changed permissions of the C drive at the root of the drive (I see this with overly-paranoid sysadmins that tends to break more than it fixes) or the existing OS install is corrupt (in which case a wipe and load will be needed before taking advantage of the free upgrade,)

In any event, this isn't a dropped ball by MS. There is no reasonable way Microsoft can predict custom group policies, custom permissions on the root of the system drive, or bit rot on local media. The installer in this case is working as intended, but is hitting a block external to itself.
1
Thomas GrassiSystems AdministratorAuthor Commented:
After changing my computer from a domain to workgroup and restarted the computer logged on as local administrator and then the Windows 10 icon appeared in lower right hand corner I ran the mediacreationtool and now installing windows 10 thanks for the suggestion very strange that you must do it this way but it is installing now
0
JohnBusiness Consultant (Owner)Commented:
Thanks for the update. First: I am glad you got Windows 10 installed because it is a good operating system and worth the effort to get there. Second:  I am not absolutely certain you must disjoin from the domain (McKnife does not think so). but if I were in this situation, it is what I would do.   Cheers.
0
Thomas GrassiSystems AdministratorAuthor Commented:
John

Thanks again

Quick question for you

Does Windows 10 have Windows Update Notifier?  Line in Windows 7 you got a notification when Windows Updates arrived.
On Windows 8 I had to download a utility that did the same thing from codeplex  works nice

Thoughts?
0
JohnBusiness Consultant (Owner)Commented:
Windows 10 has automated updates. If you wish to see what is waiting, you need to go to Windows Update and look. If the machine needs to restart, the notifier icon lower right will be all white (filled in). Look for messages.

App updates happen without warning and normally do not require restart. Small Windows updates happen without warning and may not want restart. Large updates happen in the background without warning and then Updates will say (if you go look) that a restart has been scheduled. I normally pick my moment, close out applications and click on Restart Now.

VERY different from Windows 8/8.1 and Windows 7.
0
Cliff GaliherCommented:
Just to throw it in there, you do not need to disjoin the domain. But you mist have the proper permissions as my previous comment explained. Disjoining the domain and running as local admin helps ensure that this is the case, but is not an absolute requirement nor a guarantee of success if the machine has been locked down.
0
Thomas GrassiSystems AdministratorAuthor Commented:
You are wrong you must disjoin the domain
0
Cliff GaliherCommented:
Bahahaha.  Tell that to Microsoft, the Win10 team, and the 30 or so machines I've upgraded in the last month that were joined to a domain. I'm comfortable to let my experience and reputation here speak for itself. Are you? Baesd on your ONE machine??  Sheesh.  I love it when the person asking for help likes to act like they know more than the person trying to help them.  No worries. I won't help you anymore.
2
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
Windows 10

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.