Skip to content

If you're unable to install Windows 10 edition/repair upgrade due to 'Setup has failed to validate the product key' error, here's how to fix.

Out following guide shares you the steps to upgrade to Windows 10 using ISO file:

How to install Windows 10 upgrade using ISO file

However, following the above mentioned guide some users may face issues with product key which we will discuss in this article. Actually, when you run the setup for edition upgrade or repair upgrade, the setup starts OK but then after “We’re getting some things ready” title, it shows following message:

Setup has failed to validate the product key

FIX: Windows 10 Setup Has Failed To Validate The Product Key

Nothing can be done beyond this stage, unless you explicitly opt for clean install. If you’re also facing this problem, try out these suggestions first:

  • Run the Disk Cleanup utility to erase temporary files and try to run setup again
  • Try installing latest Windows 10 version via Windows Update instead
  • If your system is part of domain, temporarily remove it from domain and perform upgrade then
  • Remove third-party security software temporarily from the machine

If you still have the issue, try the below mentioned solution which suppose to work in this case.

FIX: Windows 10 Setup Has Failed To Validate The Product Key

1. Extract Windows 10 setup ISO file using any decompression software such as 7-zip.

2. Open Notepad.

3. Type/copy following contents into the new file:


FIX: Windows 10 Setup Has Failed To Validate The Product Key

4. Now save the file by “ei.cfg” name and choose Save as type to All Files. Make sure you save this file to sources folder inside the setup ISO file.

FIX: Windows 10 Setup Has Failed To Validate The Product Key

5. Now run the setup.exe file to start installation wizard or create the bootable USB to make clean install. This time the error should not occur.

Hope this helps!

Related: The product key entered does not match any of the Windows images available for installation. Enter a different product key.

Facebook Google+ Twitter


  • Thanks for a easy to follow solution that works.

  • Kapil Arya

    ^^ Glad we could help 😊

  • Worth baring in mind that if you are doing this that if there is a CFG file present in the sources folder, remove this, create a new file as above and it works! Took me some working out though.

  • Kapil Arya

    ^^ Right!

  • Worked like a charm after trying so many other solutions.

  • Kapil Arya

    ^^ Happy to help 😊

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Recent Comments

    • Michele Schenk : Hello Kapil, I've tried every option I can find online to fix this, bu...

      8 hours ago

    • Kapil Arya : ^^ You can create it manually and set it to 1....

      21 hours ago

    • Mayank Date : I'm using Win 8.1. The longpathsenabled file is missing from my regist...

      21 hours ago

    • Rose McMillan : Hey Kapil, Thank you for your reply. Unfortunately, I'm not confident ...

      1 day ago

    • Kapil Arya : ^^ You're most welcome, Prashant!...

      2 days ago