(view source code of prodid.vbs as plain text)
' ProdID.vbs, Version 1.01 for WSH 5.6' Display Windows' Product ID'' Usage: CSCRIPT //NoLogo ProdID.vbs'' Written by Rob van der Woude' http://www.robvanderwoude.comSet Shell = CreateObject("WScript.Shell")
ProductID = Shell.RegRead("HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProductId")
WScript.Echo(vbCrLf & "ProductID=" & ProductID)
page last modified: 2025-10-11; loaded in 0.0070 seconds