Chapter 14: Troubleshooting WMI 297
1. Check connectivity.
2. Check firewall issues.
3. Check rights/permissions.
4. Check DCOM settings.
Testing the Scripting Interface
After you have checked for local and remote WMI functionality, you might need to test the
scripting interface. To do this, check both the core WMI provider and the provider host inter-
face. You can use a script to do this. In the RetrieveWMISettings.vbs script, I use the Connect-
Server method from the SWbemLocator object because it is already set up to accept alternative
connections on a remote computer, which enables a fuller range of tests. I connect to the
Win32_WMISetting class. There is only one instance of the Win32_WMISetting class. I use the
at symbol (@) t