'to read HKEY Local Machine registryconst HKEY_LOCAL_MACHINE = &H80000002'prompt for the machine name to input for scanning, the in front part is the prompt and behind one is for TitlestrComputer = ""Set oReg=GetObject( _ "winmgmts:{impersonationLevel=impersonate}!\\" &_ strComputer & "\root\default:StdRegProv")'registry pathstrKeyPath = "software\citi\agent"'registry...