Where and how to find Windows 10 product key is depend on how you got your copy of Windows 10. Below methods are only working if your Windows 10 is:
- A new PC running on Windows
- A copy of Windows 10 from authorized retailer
How To Find Windows 10 Product Key Easily
There are three methods that you can use, by only searching the product key in your computer.
Via Command Prompt
1. On search console, search for cmd and click on Run as administrator.
2. Type below command line and hit enter:
wmic path SoftwareLicensingService get OA3xOriginalProductKey
3. You will see your Windows 10 product key as below:
Via Powershell
1. On search console, search for powershell and click on run as administrator.
2. Enter below command line and hit enter:
Get-Wmiobject SoftwareLicensingService | Select OA3xOriginalProductKey
3. It will show your product key as below:
Via VBscript
1. On search console, search for notepad and click on run as administrator.
2. Copy and paste following script into the notepad.
Set WshShell = CreateObject(“WScript.Shell”) MsgBox ConvertToKey(WshShell.RegRead(“HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId”)) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = “BCDFGHJKMPQRTVWXY2346789” Do Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Key(x + KeyOffset) + Cur Key(x + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput If (((29 – i) Mod 6) = 0) And (i <> -1) Then i = i -1 KeyOutput = “-” & KeyOutput End If Loop While i >= 0 ConvertToKey = KeyOutput End Function
3. Click on file tab and choose Save as.
4. Once a save as window popup, rename the file name to myfilename.vbs. Choose All Files for the Save as type, and choose ANSI for the encoding.
5. Then click save.
6. Locate the vbs file, then double-click on it to run the script.
7. A messagebox will popup with product key.
Read: Command “wmic path softwarelicensingservice get oa3xoriginalproductkey” Blank Result.
Other Methods On How To Find Windows 10 Product Key
Additionally, you can also search for your Windows 10 product key by looking at Certificate Of Authenticity, attached on your laptop or PC.
If you buy from authorized retailer, the product key should be included on the box or label card.
You may check on your Microsoft Account that you used, when purchasing the license from Microsoft store.
Thanks for reading this article. I hope you will find it helpful.
Hey, this didn’t work for me, but it was a longshot anyway (replacement hard drive situation, unknown how the computer was previously activated), but thanks for the script, it was worth a try.
Thought you should know, the text of the script above does not work because the “quotation marks” have been auto-formatted into “directional quotation marks” in several places.
Additionally, on Line 20, there is an En Dash (–) instead of a hyphen (-).
Once these were fixed, the script stopped throwing syntax errors for me. Still didn’t work for my scenario, but that’s not on you.
Hi GB,
Sorry to hear that. Well for that case, if it blank, might be it was digital license. You may want to check this out : Command “wmic path softwarelicensingservice get oa3xoriginalproductkey” Blank Result