Finding your Windows 10 product key sometimes is located on the windows sticker on your computer hardware or with the package that contained the product key.
Here are some simple methods to locate your Windows 10 product key.
3 Steps to locate your Windows 10 product key
1. Command prompt
The most direct method for finding your Windows 10 product key is from the command line.
- Type
cmd
into the Windows 10 desktop search box and hit enter to start the command prompt. - You can also locate command prompt and select run as administrator from the context menu.
- Type this command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
2. PowerShell
To use Powershell do the following:
- Enter PowerShell in the search box.
- You can select to run it with admin rights by right clicking or just run it.
- Type this command at the prompt to reveal the product key.
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
3. Registry File
The product key is stored in the Windows 10 Registry File, so it’s possible to find the code there if you know the right key. To do so:
- Type
regedit
into the Windows 10 desktop search, and select the appropriate item in the results. - Navigate to this key: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
Keep in mind, the product key displayed here might not always match the one you find using Command Prompt or PowerShell. That’s because the registry might store different types of product keys, like those tied to the factory install or those used during upgrades.
Overall these are some simple methods to locate the Windows 10 Product key or the best way is to always safe the product key for each machine in a locked draw.