Ross Bellinger
2005-04-28 23:21:45 UTC
I have a Visual C++ project for extracting WMI information from machines
across the network. Using the IWbemLocator::ConnectServer method I'm having
the occasional issue where the ConnectServer hangs indefinitely. In my
readings I find that using the WBEM_FLAG_CONNECT_USE_MAX_WAIT flag on the
iSecurity property should alleviate the problem. Unfortunately that flag is
not implemented on Windows2000 machines and results in ConnectServer always
failing.
I can't deliver a solution which doesn't work on Windows 2000. Is there any
way to get this to work on Windows 2000, and if not is there a published
work around or suggested method of dealing with the issue?
across the network. Using the IWbemLocator::ConnectServer method I'm having
the occasional issue where the ConnectServer hangs indefinitely. In my
readings I find that using the WBEM_FLAG_CONNECT_USE_MAX_WAIT flag on the
iSecurity property should alleviate the problem. Unfortunately that flag is
not implemented on Windows2000 machines and results in ConnectServer always
failing.
I can't deliver a solution which doesn't work on Windows 2000. Is there any
way to get this to work on Windows 2000, and if not is there a published
work around or suggested method of dealing with the issue?