Link to home
Start Free TrialLog in
Avatar of Wakko47
Wakko47

asked on

"WinMgmt.exe has generated errors..."

"... and will be shut down by Windows.  You will have to restart this program."
This Program Error pops up every 20-30 seconds in Windows 2000 Professional.  I can't find it on the Microsoft Support page and I don't know what the program does.  There is no "Help" or "Detail" button on the error Window, only "OK."  How do I get rid of this?  It's driving me insane!
Avatar of sherman178
sherman178

try this, if this don't work then give me more detail of your problem.

SYMPTOMS
The System event log may display one or both of the following events:

Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 37

Event Type: Error
Event Source: WinMgmt
Event Category: None
Event ID: 61



CAUSE
In some cases, the addition of extensible performance counters may not work and may leave the performance counter registry entries in an unusable state.



RESOLUTION
There are files named PerfStringBackup_xxx.ini (where xxx is a decimal number) in the System32 folder. A file of this type is created every time you install an extensible performance counter. These files are snapshots of the performance counter registry entries that are taken before you install a program's counters.

If you believe that your performance counter registry entries are corrupted, follow these steps:

List the PerfStringBackup_xxx.ini files sorted by name. You can use this list as a chronological history of the counters that have been added.


If there is an abrupt change in file size (for example, from 300 KB to 10 KB), the last file before the abrupt change in size is probably the last good file. It is likely that whatever was installed after that is responsible for the registry corruption. You can restore the registry to the last known good state by running the following command. Note, however, that doing so removes the performance counter references from all of the programs and services that were installed after this snapshot was taken.

To restore the performance counter registry entries to the state described in a PerfStringBackup_xxx.ini file, run the following command


lodctr /r:filename
where filename is the name of the PerfStringBackup_xxx.ini file you want to restore.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
To reinstate any performance counters that you added earlier, you must reinstall the programs or performance counters.

NOTE: You may have to reinstall the program that caused the initial corruption, so monitor this process closely.
Avatar of Wakko47

ASKER

Thank you for your extensive, informative answer... but it looks like I only have one "PerfStringBackup.ini" file in my system32 directory.  

I'm not sure if this could be hardware related or not, it doesn't seem like that kind of problem, but here's what I've recently done.  I'm pretty sure this problem did not start occurring after any type of new software install.  Although, I did recently install a NIC that is connected to a hub, then a router.  When I installed this it seemed to conflict with my sound card in Win2000, but not Win98.  In Win2000 whenever a sound was played at the same time a transfer was going on, Windows would lock up and the sound would "skip" indefinately.  It seemed like I could play sound unless there was network activity (weird).  I uninstalled the Sound Blaster, rebooted, and that's when the constant "WinMgmt.exe" problem started.  Windows 2000 no longer freezes though.  I have since reinstalled my Sound Blaster and am still having the problem.
ASKER CERTIFIED SOLUTION
Avatar of sherman178
sherman178

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wakko47

ASKER

There's a Diamond Viper 2 Ultra in the AGP, GFC2204 Etherfast NIC, Sound Blaster Live!, Hauppage WinTV Card, Tekram Ultra2 SCSI Controller, and sometimes I have a Modem Blaster in the ISA slot, but not now.
sherman: what´s the Qxxxxxx number of the article?
Avatar of Wakko47

ASKER

I solved the problem myself, but you put a lot of time into your answer, thanks a lot.
Wakko, can you please tell us how you got it to work?
I too only have one occurance of the file "PerfStringBackup.INI".

The problem occured right after I tried overclocking my Abit BP6 dual 400's...

I tried many different settings none worked :-( But when I reset the settings and rebooted into Win2k I get this error every 20-30 seconds!

Please email me at will@longisland.com if you find a solution. :-)

TIA.
I fixed this problem following these instruction on the microsoft support site.

SYMPTOMS
When you start your computer, you may receive the following error message:

Winmgmt.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
The error message appears approximately every 30 seconds.
CAUSE
This behavior can occur if files in the %SystemRoot%\System32\Wbem\Repository folder become corrupted. The error message appears repeatedly because Winmgmt.exe polls the files every 30 to 60 seconds.
RESOLUTION
To resolve this behavior, delete and then re-create the files in the %SystemRoot%\System32\Wbem\Repository folder:
On the Desktop, right-click My Computer, and then click Manage.
Under Services and Applications, click Services, and then turn off and stop the Windows Management Instrumentation service.
Delete all of the files that are in the %SystemRoot%\System32\Wbem\Repository folder. (Make a backup copy before you delete the files.)
Open Services and Applications, click Services, and then turn on and start the Windows Management Instrumentation service. The files are recreated when the service restarts based on the information provided in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\Autorecover MOFs

NOTE: Some programs will not add their Managed Object Format (MOF) files to this list, in this case, rebuilding the WMI database may cause those programs to generate errors or fail and may require more troubleshooting of their specific WMI requirements.


Sometimes Microsoft works :P hehe
DoubleGJ
to fix ur problem u need to delete from ur systemroot dirctory files in %system root%\system32\wbem\Repository\(delete this files )
and do restart 2 the computer.

good luck

goblim.