![]()
SapphireIMS system provides a utility to diagnose the standard WMI related problems (SIMS_WMIDiag.exe). This executable can be located in the <Installed-Directory>\ConsoleManagement\Bin folder. This needs to be executed both on the server (where IMS is running) and the Client (Target windows machine that has issue with WMI data collection). This provides a log file with the recommended WMI settings and the current status of the same. Solutions for most of the common problems are listed below.
If a firewall is enabled on the target system then the WMI data collection will fail, this will work only if the firewall is disabled. However if you still need to achieve the data collection by keeping the firewall turned on, then you need to write some firewall exception rules
1. Customize your firewall to allow port 135 for TCP traffic (DCOM_TCP)
2. To Allow Remote administration execute the following command using command prompt <netsh firewall set service RemoteAdmin enable>
The above operations will allow WMI data collection to be successful over a firewall
DCOM should be enabled both on the target system as well as on the IMS server. If in case it is disabled, then follow the steps mentioned below to allow DCOM operations.
1. Open the registry editor
2. In the registry, find the section HKEY\SOFTWARE\MICROSOFT\OLE and set the EnableDCOM value to 'Y', and EnableRemoteConnect to 'Y' (it is 'N' by default).
When a Windows XP Professional–based computer is not joined to a domain, the simple sharing model is fundamentally different than the model used in previous versions of Windows. By default, all users logging on to such computers over the network are forced to use the Guest account; this is called Force Guest. This will cause all WMI connect operations to that system to fail. To disable the force guest setting perform the following actions.
1. Open the registry editor on the target system
2. In
the registry, find the section HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
and set the ForceGuest value from '1' to '0'
WMI is available on Windows Operating systems 2000 and above. If you need to enable WMI data collection on the versions prior to that then follow the steps mentioned below.
1. Download the WMI repository from the Microsoft site (http://www.microsoft.com/downloads/details.aspx? displaylang=en&FamilyID=AFE41F46-E213-4CBF-9C5B-FBF236E0E875)
2. After the installation the WMI application must be placed to the startup section, and DCOM connections must be enabled. To do this
In the registry, find the section HKLM\SOFTWARE\MICROSOFT\OLE and set the EnableDCOM value to 'Y', and EnableRemoteConnect to 'Y' (it is 'N' by default).
In the registry, find the section HKLM\SOFTWARE\Microsoft\wbem\cimom and set the AutostartWin9X value to '2'. Set EnableAnonConnections to '1'.
Add a link to the Winmgmt.exe file into the Startup directory. The file is stored in the \Windows\WBEM folder.