This article was previously published under Q288590
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
The MAD Monitoring thread was unable to connect to WMI, error '0x8004100e'.
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.
To resolve this issue, reregister the Exchange 2000 namespace or the Exchange 2003 namespace with WMI. To do this, follow these steps:
- On the computer that is running Microsoft Exchange Server, verify that the Exwmi.mof file exists in the following folder:
%systemroot%\System32\WbemIf 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.
- 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:
- See if the Exwmi.mof file exists on the Exchange service pack CD or in the location where you saved the service pack files.
- 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.
- 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:
- 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:
- 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:
- Start a command prompt. To do this, click Start, click Run, type cmd, and then click OK.
- At the command prompt, type the following commands. Press ENTER after each command.
cd %systemroot%\system32\wbemWhen 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...
- 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
- 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.
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:
WMI terms and concepts
Article ID: 288590 - Last Review: April 28, 2012 - Revision: 6.0
- Microsoft Exchange 2000 Server Standard Edition
- Microsoft Exchange Server 2003 Enterprise Edition
- Microsoft Exchange Server 2003 Standard Edition
Contact us for more help
Connect with Answer Desk for expert help.