Solved

WMI Problem

Posted on 2013-12-09
5
537 Views
Last Modified: 2015-08-10
I am using Windows XP SP3. Each time the system boots several dialog boxes pop up, one after another as I click on them. Some say "WMI encountered a problem and needed to close." It comes up several times. Then I get those dialog boxes that ask whether or not I want to report it to Microsoft. They eventually go way after I've clicked them all away.

What does this mean and how do I fix it?

Thankls
0
Comment
Question by:pcwizz1
  • 3
5 Comments
 
LVL 28

Expert Comment

by:becraig
Comment Utility
You can follow the XP steps here to rebuild your wmi repository:

http://www.madanmohan.com/2010/10/rebuilding-wmi-repository.html

An actual screen shot of your errors would help but this walkthrough should clean up most if not all of your wmi issues.
0
 
LVL 28

Accepted Solution

by:
becraig earned 500 total points
Comment Utility
Detailed steps:
Click Start -> Run and type CMD.EXE
Note: In Windows Vista, you need to open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

Type this command and press Enter:

net stop winmgmt

Using Windows Explorer, rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%\System32\Wbem\Repository_bad). %windir% represents the path to the Windows directory, which is typically C:\Windows.

Switch to Command Prompt window, and type the following and press ENTER after each line:
net start winmgmt
EXIT

For Windows XP Service Pack 2 and Service Pack 3

Click Start, Run and type the following command:
rundll32 wbemupgd, UpgradeRepository

This command is used to detect and repair a corrupted WMI Repository. The results are stored in the setup.log (%windir%\system32\wbem\logs\setup.log) file.



Re-registering the WMI components

The .DLL and .EXE files used by WMI are located in %windir%\system32\wbem. You might need to re-register all the .DLL and .EXE files in this directory. If you are running a 64-bit system you might also need to check for .DLLs and .EXE files in %windir%\sysWOW64\wbem.

To re-register the WMI components, run the following commands at the command prompt:

    CD %windir%\system32\wbem
    for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
    for /f %s in ('dir /b *.mof') do mofcomp %s

Registering WMI Service itself

Open the command console, type "net stop winmgmt". When you get the warning that other services need to be stopped type 'Y' and continue.

Open 'My Computer' and then go to the folder '%SystemRoot%\System32\WBEM\Repository' and delete that folder.

Reboot your system.

After you login, open the command console, and type the following commands in order:

    winmgmt /clearadap
    winmgmt /kill
    winmgmt /unregserver
    winmgmt /regserver
    winmgmt /resyncperf

reprinted from
http://www.madanmohan.com/2010/10/rebuilding-wmi-repository.html
0
 

Author Comment

by:pcwizz1
Comment Utility
Thank you your answers. But before I do any of this can someone please tell me what WMI is and what it's used for?

Thanks
0
 
LVL 28

Expert Comment

by:becraig
Comment Utility
The purpose of WMI is to define a proprietary set of environment-independent specifications which allow management information to be shared between management applications. WMI prescribes enterprise management standards and related technologies for Windows that work with existing management standards, such as Desktop Management Interface (DMI) and SNMP. WMI complements these other standards by providing a uniform model. This model represents the managed environment through which management data from any source can be accessed in a common way.

Excerpt from:
http://en.wikipedia.org/wiki/Windows_Management_Instrumentation

This should give you all you need.
0
 

Expert Comment

by:koit_tech1
Comment Utility
Does this solution work for Windows 2003? Currently we experiencing high CPU 100% each time WMI error pops up.
0

Featured Post

Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now