Read your product key and windows version with VBScript.

product_key_001
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 these functions will be a binary and string.
The binary will be converted into string using: ArrayProductKeyChars and one loop ( with for ) versus registry values.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.