Pages: [1]   Go Down
Author Topic: reading registry fails under windows 2008 R2 64 bits  (Read 791 times)
0 Members and 3 Guests are viewing this topic.
riovescu
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« on: August 13, 2010, 11:10:58 PM »

The example found in the config file fails. So I created a small vbscript:

Set objRegistry = CreateObject("Wscript.shell")
Key = objRegistry.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SusClientId")
WScript.Echo Key

It works fine from the command prompt but it fails in pandora_agent. I tried running pandora_agent as a service or command line application but the result is the same:

wsus.vbs(4, 1) WshShell.RegRead: Unable to open registry key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SusClientId" for reading.

any idea?
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST