Category Archives: Visual Basic Script

visual basic scripting

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 these functions will be a… Read More »