Created a script that confirms the Organisation name. This is normally viewed in My Computer - Right click properties. Unfortunately, my script does not show value held in registry. Option Explicit
rem On Error Resume Next Dim strKeyPath Dim strComputer Dim strEntryName Dim strValue Dim strData Dim objReg Dim subKey Dim arrSubKeys Const HKLM = &H80000000 'HKEY_LOCAL_MACHINE strKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion" strValue = "RegisteredOrganisation" strComputer = "." 'Connection to registry Set ObjReg = GetObject("winmgmts:\\" &_ strComputer & "\root\default:StdRegProv") objReg.GetStringValue HKLM, strKeyPath, strValue, strData If Err.Number = 0 Then WScript.Echo ("What " & strData) Else WScript.Echo ("Nothing Exist " & Now) End if rem WScript.Echo "Your Organisation Name " & strValue
Does this work for you (note that I had to change RegisteredOrganisation to RegisteredOrganization that may be a locale thing and you may need to change it back):