Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


January 30, 2006

Reinstall WMI Without Interrupting Exchange Services

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

SHARE YOUR EXPERIENCES
Share your Exchange and Outlook discoveries, comments, solutions to problems, and experiences with products. Email your contributions (500 words or less) to r2rxadmin@windowsitpro.com. Please include your full name and phone number. We edit submissions for style, grammar, and length. If we print your submission, you'll get $100.

As the senior consultant at Convergent Computing, I recently ran into a problem in which one of our Exchange Server 2003 bridgehead servers had Windows Management Instrumentation (WMI) repository corruption. I was able to correct the problem without shutting down the server.

I noticed the problem when I wrote a VBScript script that used WMI to collect SMTP queue performance data from our Exchange 2003 servers. One server was reporting error 0x80041010 (the specified class doesn't exist). Further investigation showed Event ID 9104, The MAD Monitoring thread was unable to read the CPU usage information, error "0x80041033," which indicated WMI repository corruption. I confirmed this conclusion by using the Windows Management Instrumentation Tester (WBEMTest), which is part of every OS installed with WMI. I found that a lot of the Exchange-specific WMI classes didn't exist.

On the Microsoft Developer Network (MSDN), I found a Web page that provided instructions for reinstalling WMI, but you can't recover the Exchange-specific WMI classes by following those instructions. You can reinstall these classes by reinstalling Exchange 2003 Service Pack 1 (SP1), but that requires Exchange services downtime.

I discovered a way to fix the problem without interrupting Exchange services. If you ever need to reinstall WMI but don't want to shut down your Exchange server, follow these steps:

  1. Stop the WMI service (winmgmt.exe) on the problem server. This action usually also stops the Microsoft Exchange Management service. If not, stop that service.
  2. On the problem server, rename the %systemroot%\system32\wbem\Repository folder to %systemroot%\system32\wbem\Repository\Repository.bak.
  3. Copy the %systemroot%\system 32\wbem\Repository folder from a known good Exchange 2003 or Exchange 2000 Server machine to the problem server.
  4. Start the WMI and Microsoft Exchange Management services.
  5. Test WMI by using WBEMTest to open the Win32_PerfRawData_SMTP SVC_SMTPServer class in the root\cimv2 namespace.

End of Article



Reader Comments
Please note that in step 5, the class Win32_PerfRawData_SMTPSVC_SMTPServer has no spaces in it.

SCIF April 01, 2006 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

Anti-Virus Vendors Prepare for War with Microsoft ... Again

When Microsoft announced its Windows Live OneCare security and PC health product over five years (as MSN OneCare), Symantec, McAfee, and the other consumer-oriented security vendors reacted with stunning vigor. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Exchange Server and Outlook Whitepapers The IT Guidebook To Evaluating Hosted Exchange Providers

Continuous Data Protection and Recovery for Microsoft Exchange

Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing