Relevant

A New Template for Joomla!

 

The MAD Monitoring thread was unable to connect to WMI, error '0x8004100e'

I was not able to run the Configure E-mail and Internet Connection Wizard, it always failed at "Firewall Configuration".

I looked into the log file which is stored in C:\Program Files\Microsoft Windows Small Business Server\Support\icwlog.txt to see what the error was.

I was not able to run the Configure E-mail and Internet Connection Wizard, it always failed at "Firewall Configuration".

I looked into the log file which is stored in C:\Program Files\Microsoft Windows Small Business Server\Support\icwlog.txt to see what the error was.

03/08/2010 9:45 AM
C:\Program Files\Microsoft Windows Small Business Server\Networking\ICW\wizemail.dll, version 5.2.2893.0
calling CEmailCommit::ValidatePropertyBag ().
calling pdispPPPBag->QueryInterface (IPropertyPagePropertyBag, 0x6e50c).
Call to pdispPPPBag->QueryInterface () returned ok.
calling ReadInt4 (0x1884668, DB5E5E45-3598-4F1D-8FF7-0ED35B9EB6A4).
Call to ReadInt4 () returned ok.
The out param of ReadInt4() is -1.
calling CValidatePropertyUtil.ValidatePropertyInteger ().
Call to CValidatePropertyUtil.ValidatePropertyInteger () returned ok.
Call to CEMailCommit::ValidatePropertyBag () returned ok.
calling CNetCommit::Commit (25708136).
calling CNetCommit::ValidatePropertyBag ().
Call to Querying for the property bag () returned ok.
Property bag is not dirty, skipping validation
calling CNetCommit::Common ().
Call to Configuring the time service () returned ok.
Call to Notifying RWW for ISA () returned ok.
Call to CNetCommit::Common () returned ok.
Call to CNetCommit::Commit () returned ok.
calling CRFireCommit::CommitEx (0x1884668).
calling CRFireCommit::ValidatePropertyBag (0x1884668).
Call to This is a Router Single Nic configuration only Web Publishing will be configured, Basic Firewall will not be configured. () returned ok.
Call to Reading web publishing selection () returned ok.
Call to Reading OWA publishing selection () returned ok.
Call to Reading RUP publishing selection () returned ok.
Call to Reading Monitoring publishing selection () returned ok.
Call to Reading OMA publishing selection () returned ok.
Call to Reading RPC publishing selection () returned ok.
Call to Reading Companyweb publishing selection () returned ok.
Call to Reading ROOT publishing selection () returned ok.
Web publishing selections:
OWA publishing: 1
RUP publishing: 1
Monitoring publishing: 0
OMA publishing: 1
RPC publishing: 1
Companyweb publishing: 0
ROOT publishing: 0
Call to CRFireCommit::ValidatePropertyBag () returned ok.
Call to GetPrivateNICGuid () returned ok.
Call to GetIPAddress for private nic () returned ok.
Call to GetSubnetMask for private nic () returned ok.
RUP is published
Call to Fixing the inheritance for root dir () returned ok.
Call to Unpublishing the default web site () returned ok.
Call to Fixing the inheritance for companyweb dir () returned ok.
Call to Unpublishing companyweb () returned ok.
Call to Publishing /Exchange () returned ok.
Call to Publishing /ExchWeb () returned ok.
Call to Publishing /Public () returned ok.
Call to Publishing /ExAdmin () returned ok.
Call to Publishing RUP () returned ok.
Call to Publishing client help for RUP () returned ok.
Call to Publishing OMA () returned ok.
Call to Publishing ActiveSync () returned ok.
Call to Publishing RPC () returned ok.
Call to Configuring RPC over HTTP () returned ok.
Call to Notify RUP for OWA () returned ok.
Call to Notify RUP for Monitoring () returned ok.
Call to Notify RUP for RPC () returned ok.
Call to Notify RUP for Companyweb () returned ok.
Call to Restricting exhchangeoma to local server only () returned ok.
Call to Restricting ConnectComputer to local network only () returned ok.
Call to GetInternetServerName () returned ok.
Call to GetNetbiosDomainName () returned ok.
Call to NotifyProvisioning () returned ok.
Call to Limiting number of connections () returned ok.
Call to Sending RUP intro mail () returned ok.
Call to Saving web publishing selection () returned ok.
calling Set Web Publishing Rules (0x0).
Call to GetPrivateNICGuid () returned ok.
Error 0x80041002 returned from call to WMIGetIPAddress().
Error 0x80041002 returned from call to CRFireCommit::Commit().
calling GetBOConnector ().
Call to GetBOConnector () returned ok.
calling spADs->PutEx (ADS_PROPERTY_CLEAR, msExchSmtpOutboundSecurityPassword).
Call to spADs->PutEx () returned ok.
calling spADs->SetInfo ().
Call to spADs->SetInfo () returned ok.

Near the bottom you can see the error message: Error 0x80041002 returned from call to WMIGetIPAddress().

I was also getting the following error recorded in the application log:

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'. 

For more information, click http://www.microsoft.com/contentredirect.asp.

The solution is below:

Step 1: Please take the steps according to the article below:

Error "0x8004100e" and event ID 9097 occur when you run the System Attendant



Note: The Exwmi.mof file is located in the following folder of SBS 2003 CD 3: CD_drive_letter:\Exchsrvr65\Setup\I386\Exchange

Step 2: The problem occurs when wbem repository might be corrupted

1. Stop and disable the Windows Management Instrumentation service.

a) Click Start, Run, type "services.msc" and press Enter.
b) Right click the "Windows Management Instrumentation" service and click Properties.
c) On the General tab, set "Startup type" to "Disable" and click OK.
d) Right click the "Windows Management Instrumentation" service and click Stop.

2. Delete all the files in the %windir%\system32\wbem\Repository directory.

3. Start the Windows Management Instrumentation service.
a) Click Start, Run, type "services.msc" and press Enter.
b) Right click the "Windows Management Instrumentation" service and click Properties.
c) On the General tab, set "Startup type" to "Automatic" and click OK.
d) Right click the "Windows Management Instrumentation" service and click Start.