Windows 10 Setup has failed to validate the product key

windows 10windows-10-upgrade

I am trying to run the upgrade from my Windows 8.1 Pro computer to Windows 10. It keeps telling me:

Setup has failed to validate the product key

This has happened when clicking "Upgrade" inside the Windows 10 Media Creation Tool and has also happened when running the installer from a flash drive. However, that flash drive did successfully install Windows 10 on another computer.

How can I fix this?

This computer is a Lenovo ThinkPad T530 which originally shipped with Windows 8 (basic), was upgraded to Windows 8 Pro, and then to Windows 8.1 Pro. When I run NirSoft's product key retrieval tool, it shows the original Windows 8 key stored by Lenovo in the BIOS as well as the Windows 8 Pro Upgrade key. Could it be that the upgrader has "decided" that these keys are not eligible for upgrade?

Best Answer

I read through the log files in C:\$Windows.~BT and discovered an error message that said:

Unable to create temp file in C:\Users\me\AppData\Local\Temp. The file already exists.

(That's not the exact wording, but it's pretty close. I'm typing this on my other machine while watching the installer run.)

I ran Disk Cleanup on the drive, which cleared out the Temp folder and the downloaded/unpacked installer files (in C:\$Windows.~BT and C:\$Windows.~WS), then started the installer again and had no trouble.