Hi Min Yang,
How is your issue going? Has it been resolved yet? If it has, please consider accepting the answer as it helps others sharing the same problem benefit too. Thank you :)
VP
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hmm... I was trying to deploy Windows 11 on a company machine that originally had Windows 10, but the hardware isn’t officially supported so I used Rufus with the bypass option and grabbed the ISO from Microsoft’s site. During setup, after choosing “I dont have a product key” and selecting the edition, it throws an error saying “setup has failed to validate product key.” If I try the alternate route with “Previous version of setup,” I instead get “Windows cannot find Microsoft Software License Terms.” This is blocking one of our internal test machines from being rebuilt and its getting pretty frustrating
Hi Min Yang,
To fix this on your test machine without getting blocked by the hardware requirements, you must manually apply the bypass. First, plug your USB drive into a working computer and delete the autounattend.xml file from the main directory, which returns the setup to its default state. Boot your test machine from the USB drive and wait for the first Windows Setup screen where you select your language. Instead of proceeding normally, press Shift and F10 simultaneously to open the Command Prompt, type regedit, and press Enter to launch the Registry Editor.
Within the Registry Editor, navigate to the HKEY_LOCAL_MACHINE hive, expand the SYSTEM folder, and click the Setup key. Right-click the Setup folder to create a new subkey named LabConfig. Inside your new LabConfig key, create two separate DWORD 32-bit values named BypassTPMCheck and BypassSecureBootCheck, setting the value data for both to one. These modifications instruct the setup engine to natively ignore the hardware requirements. Close the Registry Editor and Command Prompt, continue your installation normally by selecting that you do not have a product key, and the setup will seamlessly load the license terms so you can rebuild the machine.
VP
The error messages indicate Windows Setup is not accepting or locating valid licensing information for the edition being installed. For a clean install on a device that previously ran Windows 10, the edition selected during setup must match the existing license, and the product key must be either:
To proceed reliably on this test machine:
If the Product key page appears and there is no key and no linked digital license, do not proceed; cancel setup and first ensure the device’s digital license is properly linked to a Microsoft account before reinstalling.
If using custom or altered media (for example, with bypass tools) has introduced configuration files that interfere with key validation or license terms detection, recreate the USB using the standard Media Creation Tool and avoid additional modifications. This ensures Setup can correctly locate the Microsoft Software License Terms and validate the product key or digital license.
For a full clean install on a nonfunctional or to-be-rebuilt PC, follow these supported steps:
If the Product key screen does not appear at all, Setup has already found and applied a key from firmware, and installation can continue normally.
References: