Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error "0x8004100e" and event ID 9097 occur when you run the System Attendant in Exchange Server 2003


View products that this article applies to.

Symptoms

When you start the system attendant (MAD), the following event ID message is logged:


Event Type: Error
Event Source: MSExchangeSA
Event Category: Monitoring
Event ID: 9097
Description:
The MAD Monitoring thread was unable to connect to WMI, error '0x8004100e'.

↑ Back to the top


Cause

This issue can occur if the Microsoft Exchange 2000 Server namespace or the Microsoft Exchange Server 2003 namespace has become unregistered in Microsoft Windows Management Instrumentation (WMI) on the system.

↑ Back to the top


Resolution

To resolve this issue, reregister the Exchange 2000 namespace or the Exchange 2003 namespace with WMI. To do this, follow these steps:
  1. On the computer that is running Microsoft Exchange Server, verify that the Exwmi.mof file exists in the following folder:
    %systemroot%\System32\Wbem
    If the file exists, continue to step 4.

    Note%systemroot% is a Windows environment variable that identifies the folder where Microsoft Windows is installed. To view the value that is associated with %systemroot%, and to view other environment variables on the computer, type set at a command prompt, and then press ENTER.

  2. If the Exwmi.mof file does not exist in the %systemroot%\System32\Wbem folder, and you have a Microsoft Exchange service pack installed, follow these steps:
    1. See if the Exwmi.mof file exists on the Exchange service pack CD or in the location where you saved the service pack files.
    2. If the Exwmi.mof file exists on the Exchange service pack CD or in the location where you saved the service pack files, copy the file to the %systemroot%\System32\Wbem folder on the hard disk drive.
  3. If the Exwmi.mof file does not exist on the service pack CD or in the location where you saved the service pack files, or you do not have an Exchange service pack installed, copy the Exwmi.mof file from the Exchange Server installation CD to the %systemroot%\System32\Wbem folder on the hard disk drive.

    Note The location of the Exwmi.mof file on the CD varies depending on the Exchange Server installation CD that you are using.
    • If you are using the Exchange 2000 Server CD or the Exchange Server 2003 CD, the Exwmi.mof file is located in the following folder:
      CD_drive_letter:\Setup\I386\Exchange
    • If you are using the Microsoft Small Business Server 2000 CD that contains Exchange 2000, the Exwmi.mof file is located in the following folder:
      CD_drive_letter:\Exchsrvr60\Setup\I386\Exchange
    • If you are using the Microsoft Windows Small Business Server 2003 CD that contains Exchange 2003, the Exwmi.mof file is located in the following folder:
      CD_drive_letter:\Exchsrvr65\Setup\I386\Exchange
  4. Start a command prompt. To do this, click Start, click Run, type cmd, and then click OK.
  5. At the command prompt, type the following commands. Press ENTER after each command.
    cd %systemroot%\system32\wbem

    mofcomp.exe exwmi.mof
    When you run the Mofcomp.exe file successfully, you receive the following output:
       Microsoft (R) 32-bit MOF Compiler Version 1.50.1085.0007
       Copyright (c) Microsoft Corp. 1997-1999. All rights reserved.
    
       Parsing MOF file:  exwmi.mof
       MOF file has been successfully parsed
       Storing data in the repository...
       Done!
  6. At the command prompt, type the following commands from the %systemroot%\System32\Wbem directory. Press ENTER after each command.
    mofcomp.exe -n:root\cimv2\applications\exchange wbemcons.mof

    mofcomp.exe -n:root\cimv2\applications\exchange smtpcons.mof


    Notes
    • When you run both of these commands, you should receive output that is similar to the output that is described in step 5. The only difference is that the Wbemcons.mof file name or the Smtpcons.mof file name will appear in the "Parsing MOF file:" line.
    • If the Wbemcons.mof file is not located in the %systemroot%\System32\Wbem folder, you must run the Wmicons.exe file from the Exchange Server CD.
      • For Exchange 2000 and Exchange 2003, this file is located in the CD_drive_letter:\Setup\I386\Exchange\WMI folder.
      • For Small Business Server 2000, this file is located in the CD_drive_letter:\Exchsrvr60\Setup\I386\Exchange\WMI folder.
      • For Windows Small Business Server 2003, this file is located in the CD_drive_letter:\Exchsrvr65\Setup\I386\Exchange\WMI folder.

↑ Back to the top


More information

The 0x8004100E error indicates the "Namespace specified could not be found" error string.

For more information about WMI, visit the following Microsoft Web sites: For more information, click the following article number to view the article in the Microsoft Knowledge Base:
216738 WMI terms and concepts

↑ Back to the top


Keywords: KB288590, kbprb

↑ Back to the top

Article Info
Article ID : 288590
Revision : 6
Created on : 4/28/2012
Published on : 4/28/2012
Exists online : False
Views : 348