top of page

How to Find Your Original Windows 10 Product Key

  • Writer: drtechworld =<vinayak>
    drtechworld =<vinayak>
  • Mar 18, 2020
  • 2 min read

THERE ARE 3 WAYS TO FIND Windows 10 PRODUCT KEY .




1. Find Windows 10 product key using Windows Registry

Here is the script which will translate all the Unreliable Registry Values in the Readable Format. First, you need to boot into your windows computers.

This VBScript is shared on the Microsoft forums, copy the below script in the Notepad and share the text document as “product.vbs

Remember to choose “All Files” option in “Save as Type.”

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

Once you save the file, click on it. You will see the product key in Popup.



2. Find Windows 10 product key using Command Prompt


It’s very straightforward to find the Windows 10 product key using Command Prompt, you have to open the CMD and paste the below command in it, you will get your product key. 



Command: 

wmic path softwarelicensingservice get OA3xOriginalProductKey

Please type or paste it in the CMD.x


3. Find the Windows License Key using PowerShell.


In order to find the product key with PowerShell, you have the open a new Powershell with administrative permissions and the below commands in it.



powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”

This is the command.



If with all the above method, you are unable to find the product key of your windows, then its a time to contact Microsoft Support team.

We hope this article on 3 Ways Find Windows 10 Product Key is helpful for you, If the article is useful for you in any manner do share it with your friends and family, Stay connected with us for all the tech updates.








Comments


  • Tumblr
  • YouTube
  • Pinterest Social Icon
  • Instagram
  • Facebook Social Icon
average rating is 4 out of 5, based on 150 votes, Recommend it

Subscribe for Dr. Tech Updates!

bottom of page