Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

January 30, 2006 12:00 AM

Reinstall WMI Without Interrupting Exchange Services

Windows IT Pro
InstantDoc ID #48980
Rating: (1)

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.

Related Content:

ARTICLE TOOLS

Comments
  • ANNA
    6 years ago
    Apr 01, 2006

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

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.