WMI Remote connection objsWbemLocator.ConnectServer
- by Sam
I have an issue when connecting to remote machines using the following:
Set objWMIService = objSWbemLocator.ConnectServer _
(sIP, "root\CIMV2", strUser, strPassword, "MS_409", "ntlmdomain:" + sDomain, 128)
the problem is that some machines are not timing out and the process hangs.
Is there a way to cancel the connect and continue with the next ip? I'm using vbscript.
Thanks,
Sam