Forum Discussion
Recover and find Windows 10 product key on my computer
You can retrieve your Windows 10 product key using Command Prompt (CMD) with built-in Windows tools. Here are the two most effective methods to find windows 10 product using cmd:
Method 1: Using wmic (Best for OEM & Retail Keys)
Press Win + X and select "Terminal (Admin)" or "Command Prompt (Admin)".
Run this command to find Windows 10 product key on your computer:
wmic path softwarelicensingservice get OA3xOriginalProductKey
This pulls the original OEM key stored in the BIOS (for pre-built PCs like Dell, HP, etc.). If it returns a blank, try the next method.
Method 2: Using powershell (For Digital & Retail Keys)
In the same Admin Command Prompt, run this command to recover Windows 10 product key:
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"
This fetches the same BIOS-embedded key as wmic.
If CMD doesn't work, try a product key finder app to extract the key from the registry.