Where is the Windows license key on Windows 10?
Solution 1:
If Windows 10 was ever activated on this computer, then it is now remembered by the Microsoft activation servers using its hardware fingerprint.
There will be no problem installing Windows 10 again on this computer, and activation will be automatic. You do not need to search for the key.
Solution 2:
It's likely that I'll need the new machine's Windows 10 key.
You won't need need to manually enter the license key. The OEM license key is embedded in your BIOS and will be detected automatically by Windows.
I would personally just do a completely clean install of Windows 10 and then manually reinstall the applications and import the data from your backup. This will be a very quick process and will guarantee a stable system.
After performing a clean install using a 4+ GB flash drive, Windows will automatically activate itself online almost immediately.
OEM PC manufacturers, such as the one that made the OP's computer, work with Microsoft to embed the license key in the BIOS, which is how Windows is able to activate itself even if you wiped your new PC to do a clean install of Windows before connecting it to the Internet. After activation, Microsoft's activation servers will then know the hardware fingerprint of the computer but not before. They do, however, recognize the OEM license key.
Here's what happens when I run this tool on my PC, which does not have an embedded Windows 10 license key in the BIOS as I built the PC myself and used a regular retail key: