Pages

Saturday, July 08, 2006

Exchange: Message Tracking Corrupted Produces Error message "ID no: 8004100e Exchange System Manager",

Summary:

You receive error message "ID no: 8004100e Exchange System Manager", when you are using the Message Tracking Center or in the field where you enter the Path to store The Message Tracking Logs through ESM.


Cause:

The error code 8004100e translates to WBEM_E_INVALID_NAMESPACE, which means the failure is due to an invalid namespace or a corrupted CIM Repository.

Resolution:

To resolve this issue, you will need to attempt registration of the
necessary DLLs and to import the Exchange Namespaces and Classes. Running the below commands will harm nothing if the DLLs are already registered or if the Namespaces and/or Classes are already present in the WMI Repository. I have written a batch file that will automate the process below which you can download from "Chong Man's Exchange Resources" under links and going to the Scripts directory.

1. Run the following command from a command prompt in the Program Files\Exchsrvr\Bin directory:

regsvr32 /s exwmi.dll

regsvr32 /s cdowf.dll
regsvr32 /s cdowfevt.dll



2. Run the following commands from a command prompt in the
Windows\System32\Wbem directory:

mofcomp.exe -class:forceupdate C:\WINDOWS\system32\WBEM\exmgmt.mof
mofcomp.exe C:\WINDOWS\system32\WBEM\exwmi.mof
mofcomp.exe -n:root\cimv2\applications\exchange
"C:\WINDOWS\system32\wbem\wbemcons.mof"
mofcomp.exe -n:root\cimv2\applications\exchange
"C:\WINDOWS\system32\wbem\smtpcons.mof"
mofcomp.exe -n:root\cimv2\applications\exchange
"C:\WINDOWS\system32\wbem\msgtrk.mof"

3. Restart the Windows Management Instrumentation service and all related services.

If the issue still persists, the files in the %SystemRoot%\System32\Wbem\Repository folder may get corrupted. Run these steps:

1. Click Start, and then right-click My Computer.

2. On the shortcut menu, click Manage.

3. In the left pane of the Computer Management console, double-click “Services and Applications".

4. Under "Services and Applications", click Services.

5. In the right pane of the Computer Management console, locate and then
right-click Windows Management Instrumentation.

6. On the shortcut menu, click Stop.

7. Start Windows Explorer, and then locate the
%SystemRoot%\System32\Wbem\Repository folder.

8. Copy %SystemRoot%\System32\wbem\Repository to a different folder and then delete all of the files in the %SystemRoot%\System32\Wbem\Repository folder.

9. Register all DLLS in %SystemRoot%\System32\wbem. To do so, run the following commands:

cd C:\WINDOWS\system32\wbem
for /f %s in ('dir /b *.dll') do regsvr32 /s %s

10. Restart the computer. The files that were deleted are re-created when
the computer restarts as the Windows Management Instrumentation service
starts automatically when you restart the computer.

James Chong (MVP)
MCITP | EMA; MCSE | M+, S+
Security+, Project+, ITIL
msexchangetips.blogspot.com

How useful was this article? Want to see a tip not listed? Please leave a comment.

36 comments:

  1. Anonymous9:42 PM

    Thank you, your tip was very helpful. After restore DC w2k with Exchange 2000 by Backup Exec on another hardware and eseutil on MailboxStores, it was applicable but Message Tracking Center produses 8004100e. After registering WMI components it works!

    ReplyDelete
  2. Anonymous2:04 AM

    Cheers James, this has helped me out too

    ReplyDelete
  3. Anonymous8:19 PM

    Absolutely magic. Thanks for a great resource!

    ReplyDelete
  4. Anonymous12:03 PM

    I just followed your cookbook and presto! The error is gone. Thank you for an excellent tip.

    ReplyDelete
  5. Anonymous8:21 AM

    Thank you very much for the one and only hint on the internet that really worked

    ReplyDelete
  6. Anonymous9:59 PM

    Thanks for that it worked as described. If only all help could be so accurate.

    ReplyDelete
  7. Anonymous1:38 AM

    James - thanks for this -worked first time on my W2K3 SBS server. Saved me bags of time figuring it out...

    ReplyDelete
  8. Anonymous10:55 AM

    Thanks - Worked by my exchange 2000 box. Just had to change the Windows to WINNT in the paths! Great Blog!!

    ReplyDelete
  9. Anonymous3:14 PM

    Thanks, fixed it on a Win SBS 2003

    ReplyDelete
  10. Anonymous5:28 AM

    Wow! It really worked. Used this method on my Win2K and it worked :)

    ReplyDelete
  11. Anonymous2:20 AM

    Many thanks for this - worked a treat!

    ReplyDelete
  12. Anonymous7:41 PM

    Great Job! Worked like a change. Thanks so much for the documentation!

    ReplyDelete
  13. Great Works again !

    Thanks !!!

    ReplyDelete
  14. fantastic man it worked.. :)
    :)

    ReplyDelete
  15. Anonymous7:31 AM

    darn, didnt work for me, can find the file applications/exchange

    ReplyDelete
  16. Anonymous6:48 PM

    The replica handbags design debuted in 1888. replica handbags uk design was launched in an effort to counteract the replicas his competitors were marketing. replica bags was made of an intersection of the initials LV, finished with a curved beige diamond and 4 point star intes.

    ReplyDelete
  17. Anonymous6:46 AM

    You are the master! It worked great!

    ReplyDelete
  18. Anonymous3:11 AM

    Thanks! Very helpful advice

    ReplyDelete
  19. Anonymous12:24 AM

    Thanks! :)

    ReplyDelete
  20. Neels7:04 AM

    It worked for me as well SBS 2003

    ReplyDelete
  21. Anonymous5:06 AM

    Been pulling my hair out over this one. Thank you ever so much for your great advice it fixed the problems right away :)

    ReplyDelete
  22. Anonymous3:30 PM

    Following your guide resolved the issue on our 2003 SBS running Exchange.
    Thank you for your really helpful guide. It is much appreciated.

    Alan Ayres

    ReplyDelete
  23. Anonymous1:56 AM

    Perfecte!

    ReplyDelete
  24. Anonymous12:36 AM

    Thanks very much!
    Markus

    ReplyDelete
  25. Thanks, I performed a restore test of our 2 AD's and 2 Exchange2003 servers running on Windows Server 2003 Standard.Your fixed the WMI on the Exchange servers. thanks.

    ReplyDelete
  26. Goodness, there's so much effective information here!

    ReplyDelete
  27. Anonymous12:08 PM

    Bravo! Its work for me also. I was working on this issue since long time but today I solved this issue with the help of your article. Thanks. Thanks a ton!

    ReplyDelete
  28. THANK YOU!!!! After many years this has fixed my issue!!!

    ReplyDelete
  29. I got the same error message but now gone.

    ReplyDelete