Read your product key and windows version with VBScript.

First you need to create one file named : productkey.vbs .
Edit this file with this source code:

How it’s working:
You have to select the Windows Registry with two functions: GetProductKey and GetOSVersion.
Also you need to select the entry in the target registry path: HKEY_LOCAL_MACHINE , MyRegKeyName , MyRegKeyValue.
The result of this functions will be a binary and string.
The binary will be converted into string using: ArrayProductKeyChars and one loop ( with for ) versus registry values.


born 1976, Falticeni , Suceava , Romania
Posted in All, Programming, Visual Basic Script, Windows 10. Tagged with , , , , , , .