Select Yes if Windows asks you to allow access. Type regedit in the Windows 10 search bar. How to find your Windows Product Key in the Registry Editor Your 25-character Windows 10 product key should now be displayed (in 5-character chunks). Powershell '(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey' Type or copy and paste the following code into PowerShell: Click Yes if Windows asks you to allow access. How to find your Windows Product key using PowerShell To open Command Prompt in Windows 7, press the Windows key + R and type cmd into the search box. You can find your Windows 7 product key in Command Prompt by following the same steps. That’s how to find a windows 10 product key in cmd (Command Prompt). Your 25-character Windows 10 product key should now be displayed (in 5-character sets). Wmic path softwareLicensingService get OA3xOriginalProductKey Type or copy and paste the following command into the Command Prompt: Right-click on Command Prompt, select Run as administrator, and select Yes if Windows asks you to allow access. How to find your Windows product key using Command Prompt (CMD)