Login | |
|
 |
RE: Help accessing remote registry - 10/28/2008 1:02:52 AM
|
|
 |
|
| |
ebgreen
Posts: 5251
Score: 31
Joined: 7/12/2005
Status: offline
|
Ok, so with some testing, the code that you posted it works fine for me with machine name or ip address either one. In that case I would say that permissions are really the issue. Remember that simply being an admin on the machine may not be sufficient. It is possible that WMI permissions may not be configured to allow remote access as well.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Help accessing remote registry - 10/28/2008 3:34:41 AM
|
|
 |
|
| |
ebgreen
Posts: 5251
Score: 31
Joined: 7/12/2005
Status: offline
|
Ahh...I didn't read closely enough. I thought that you were getting an error on both. Change this line: objReg.GetDWORDValue HKLM,"\SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix\KB958644\","Installed",KEY to this: objReg.GetDWORDValue HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix\KB958644","Installed",KEY and see what you get.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|