Microsoft KB Archive/254083

= SMS 2.0 SP1 is not compatible with WMI version 1085 =

Article ID: 254083

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Systems Management Server 2.0 Service Pack 1

-



This article was previously published under Q254083



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
After you upgrade to version 1085 of Windows Management Instrumentation (WMI) on the Systems Management Server (SMS) site provider site system, the SMS Administrator console can no longer connect to the site database. Instead, the following error message may be generated:

Runtime Error!

Program C:\winnt\system32\mmc.exe

abnormal program termination



CAUSE
This behavior is caused by security changes in the later WMI version that prevents the SMS provider from functioning correctly. The information in this article applies to Microsoft Windows NT 4.0.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To restore functionality to a site server that has been upgraded, remove WMI and install the version that is included with SMS.

NOTE: Removing WMI removes all data and provider registrations from the repository. Instructions for restoring the data and registrations that SMS depends on are listed later in this article. For instructions regarding the restoration of third-party software products that are also dependant on WMI, please contact the product manufacturer.

Manual Removal of WMI
 Stop the Windows Management service. Using the Instsrv.exe utility from the Microsoft Windows NT Resource Kit, remove the service by using a command syntax similar to:

instsrv winmgmt remove

Note that this command syntax may vary depending on the installed build number.

 Manually delete the %SystemRoot%\System32\Wbem folder and its contents. In the registry, remove the WBEM key from:

HKEY_LOCAL_MACHINE\Software\Microsoft



Reinstallation of WMI
 Set up the Windows Management Instrumentation (WMI) server components. At a command prompt, in the :\ \Bin\  folder, type the following command by using the hotfixed version of Wbemsdk.exe:

wbemsdk.exe /s /server

</li> To restore the provider and other data needed by the site, manually compile the MOF files by typing the following commands at a command prompt, pressing ENTER after each command:

cd %systemroot%\system32\wbem

mofcomp x:\ \bin sms_schm.mof

mofcomp x:\ \bin smsprov.mof

mofcomp x:\ \bin cmprov.mof

mofcomp x:\ \bin cpprov.mof

mofcomp x:\ \bin pollprov.mof

mofcomp x:\ \bin netdisc.mof

If the SMS provider is located on a computer other than the site server, compile the .mof files located on that computer by typing the following lines at a command prompt

cd %systemroot%\system32\wbem

mofcomp :\smsprov\mofs\ \sms_schm.mof

mofcomp :\smsprov\mofs\ \smsprov.mof

where  is the drive where the provider is installed.

</li> In the Systems Management Server Administrator console, the node under the Systems Management Server node may state that the connection did not succeed. If so, delete that connection node by right-clicking it and then clicking Delete. Restore the node by right-clicking the Systems Management Server node, pointing to All Tasks, and then clicking Connect To Site Database. In the Site Database Connection Wizard, click Next, and then click Reconnect to the site database for this site server. Click Next, and then click Finish.</li> Restart the computer.</li></ol>

Important Rebuilding the WMI repository in Windows 2000 or later versions can yield unpredictable results. The following links can be useful in troubleshooting WMI issues:
 * WMI Troubleshooting:

http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx
 * WMIDiag usage:

http://www.microsoft.com/technet/scriptcenter/topics/help/wmidiag.mspx
 * WMIDiag Download:

http://www.microsoft.com/downloads/details.aspx?FamilyID=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&DisplayLang=en

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

<div class="moreinformation_section">

MORE INFORMATION
WMI version 1085 is automatically installed by several third-party products that may have dependencies on using the newer version of WMI. These products should not be installed on an SMS 2.0 or 2.0 SP1 site server or provider server.

Additional query words: prodsms

Keywords: kbbug kbfix kbprb KB254083

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.