boostmr2
Posts: 1
Score: 0 Joined: 6/26/2008 Status: offline
|
I have the need to read (only read) various IE settings from a remote or local machine. I already have an asp.net application that pull this information using WMI and an admin account sauccessfully. About 30% of my clients, however, do not return anything from the MicrosoftIE_ConnectionSettings class within "root\CIMV2\Applications\MicrosoftIE". Most machines do, but some return literally nothing. Following is an example client script: strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2\Applications\MicrosoftIE") Set colItems = objWMIService.ExecQuery( _ "SELECT * FROM MicrosoftIE_ConnectionSettings",,48) For Each objItem in colItems Wscript.Echo "-----------------------------------" Wscript.Echo "MicrosoftIE_ConnectionSettings instance" Wscript.Echo "-----------------------------------" Wscript.Echo "Proxy: " & objItem.Proxy Next I have added wscript.echo code in various parts of this code to see where it is successful or not. I know that it is retrieving the MicrosoftIE_ConnectionSettings class without noticable error, however there is nothing inside the colItems object. its count property is 0. I have tried catching any exceptions that may thrown, but there aren't any. All client machines are running windows XP SP2 with some version of IE 6. Any ideas what might cause this class to be empty?
|