How to Find Windows Product Key in 1 Minute Without Any Software?

Find Windows Product Key With The Help Of Visual basic script.




Windows Product Key plays very important role in our computer and laptop life.Every time when we reinstall windows on our computer we forget Windows Product key, Especially when we don't have any physical copy of Windows. Good thing is that you can find your windows product key with a simple visual basic script. There is much software available on the internet to find product key of Windows but when we download them it will come with some hidden malicious code or malware in it, So it's better to use vbs rather than downloading product key finder software.



Windows Product Key


How to use vbs Script for Finding Product Key?


First of all open notepad and copy this script into notepad and save as "productkey.vbs"
without quotation.Remember to select the file type to All programs. The script is Given Below.


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

After saving it double click on it. A new popup windows opens with your windows product Key. You can 
Use this key next time you reinstall windows.Mission Accomplished.

Comments