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… Continue Reading Read your product key and windows version with VBScript.