Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 30, 2006

Reinstall WMI Without Interrupting Exchange Services

RSS
View this exclusive article with VIP access -- click here to join |
See More Tips Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

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 log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...

Command Prompt Tricks

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

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


Exchange Server and Outlook Whitepapers Protecting (You and) Your Data with Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events The Myths & Truths of Email Management with SharePoint

Top 10 Email Security Challenges and Solutions

Mastering Exchange 2007 Server Management – May 29, 2008 (11:00 AM EST)

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 Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing