Find Your Windows 7/8/10 Product Key After Installing It

Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestEmail this to someoneShare on StumbleUponDigg thisShare on LinkedInShare on Reddit

You probably noticed that new computers or laptops with pre-installed Windows OS doesn’t comes with with the sticker which displays the product key. Actually the key is in encrypted format in windows registry, and you can no longer see that without some tweaks. Then how do you get it?

There are number of methods you can use to know the windows product key. I have listed two simple methods to retrieve the product key. One is using a software called “Belarc Advisor” and other is using notepad.find windows 10 product key

Using Belarc Advisor

Belarc Advisor not only finds the Windows product key, but also shows the detailed information of your computer configuration such as System model, Processor, Main Circuit Board, Display and many more. When you run, your browser will open and all these details are shown as webpage. See Software License section and your product will be listed as xxxxx-xxxxx-xxxxx-xxxxx-xxxxx.
Download Belarc Advisor

Using Notepad

Below specified VBscript decrypt’s the product key from windows registry and gets it to you easily. First you create a new text document or notepad and paste the following script.

Set WshShell = CreateObject(“WScript.Shell”)
MsgBox ConvertToKey(WshShell.RegRead(“HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId”))

Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Cur = 0
x = 14
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

Windows 7 Product Key
Then do as “File>>Save As“, change file type to “All Files” and name it as “filename.vbs“. Then its icon will be changed if it changed to VBscript. Double click on it to show the Windows product key.

One Response

  1. Roger November 5, 2015