Get GUIDs of installed software
You can get the GUIDs of installed software using the following Visual Basic script: Set oWMIroot = GetObject("WinMgmts:root/cimv2") Set oWMIColl = oWMIroot.ExecQuery("Select IdentifyingNumber, Name FROM Win32_Product") For Each oWMIval In oWMIColl WScript.Echo oWMIval.Name & " = " & oWMIval.IdentifyingNumber Next