How to find Windows Product Key using VB Script.
Step 1: Open Notepad. Step 2: Copy and Paste this code into Notepad. Save this as a .vbs file, for example, key.vbs. Option Explicit Dim objshell,path,DigitalID, Result Set objshell = CreateObject(“WScript.Shell”) ‘Set registry key path Path = “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\” ‘Registry key value DigitalID = objshell.RegRead(Path & “DigitalProductId”) Dim ProductName,ProductID,ProductKey,ProductData ‘Get …