Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reading registry fails under windows 2008 R2 64 bits
#1
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?
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes