For Windows on a laptop, the product key may not need to be viewed at all if the device came with Windows preinstalled. On many laptops, the key is embedded in the device firmware (UEFI/BIOS), and Windows activates automatically after reinstalling.
To try to view the embedded Windows product key:
- Open Command Prompt.
- Run:
wmic path softwarelicensingservice get OA3xOriginalProductKey
- If a key is stored in firmware, it will be displayed.
If that command shows nothing, try PowerShell or Terminal (Admin) and run:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
If the laptop originally came with Windows Home or another OEM edition, a clean reinstall of that same edition can activate automatically without entering a product key.
If Windows was purchased digitally from Microsoft, check the Microsoft account used for the purchase. If proof of purchase is available and the key is lost or damaged, Microsoft support may be able to help.