Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: wmi is corrupt


31 Jul 2012   #1

W7 PRO x64
 
 
wmi is corrupt

Hello everyone,
im not sure if this is the correct place to post this,
as you know my wmi is corrupt, i have tried the wmidiag.vbs from MS but to no success,
if anyone can help me that would be great, attached is the txt file wmidiag opens WMIDIAG-V2.1_WIN7_.CLI.SP1.64_MOON_2012.08.01_12.16.12-REPORT.TXT




My System SpecsSystem Spec
.

01 Aug 2012   #2

Windows 7 ultimate x64
 
 

Hi

Try repairing and rebuilding the WMI service...

Click on start>Run>cmd

On the command prompt run the below steps in order

1. net stop winmgmt
then go to the C:\Windows\system32\wbem directory and delete the Repository directory

2. net start winmgmt

3. cd /d %windir%\system32\wbem
4. for %i in (*.dll) do RegSvr32 -s %i
5. for %i in (*.exe) do %i /RegServer

and

6. cd /d %windir%\sysWOW64\wbem
7. for %i in (*.dll) do RegSvr32 -s %i
8. for %i in (*.exe) do %i /RegServer


reboot and let me know ...

NOTE: A word of advice... Rebuilding the WMI repository will most probably result in some 3rd party products not working until their setup is re-run & their MOF re-added back to the repository.
My System SpecsSystem Spec
01 Aug 2012   #3

W7 PRO x64
 
 

Hey Centaur78, thanks for your help.
i have done as instructed but got the same result unfortunately
My System SpecsSystem Spec
.


01 Aug 2012   #4

Windows 7 Ultimate x64 SP1
 
 

The report you posted has instructions on how to attempt a repair of the WMI/MOF files. Have you tried them?

Also, I notice a lot of improper shutdowns. Do you have (or have you had) BSOD problems?
My System SpecsSystem Spec
01 Aug 2012   #5

W7 PRO x64
 
 

Hey Kegobeer,
the improper shutdowns is from my graphics card stuffing up,
i have tried the following commands:
WMIDiag CorrelateClassAndProvider
WMIDiag WriteInRepository=root
My System SpecsSystem Spec
01 Aug 2012   #6

Windows 7 Ultimate x64 SP1
 
 

Have you had BSODs?
My System SpecsSystem Spec
01 Aug 2012   #7

W7 PRO x64
 
 

once while i was editing a .txt file on my desktop
My System SpecsSystem Spec
01 Aug 2012   #8

Windows 7 Ultimate x64 SP1
 
 

Follow these instructions so I can look at the minidump and also look at your system.

http://www.sevenforums.com/crashes-d...tructions.html
My System SpecsSystem Spec
01 Aug 2012   #9

Windows Server 2008 R2
 
 

Don't try to rebuild WMI manually on Windows 7, as you could make it worse. You should execute the following 2 commands from an elevated cmd prompt:
Code:
 
winmgmt /standalonehost
winmgmt /resetrepository
Reboot.
My System SpecsSystem Spec
01 Aug 2012   #10

Windows 7 ultimate x64
 
 

You could also verify if WMI is consistent by running

winmgmt /verifyrepository at the command prompt

if it says inconsistent ... Then follow the advice by Cluberti

If nothing works ... follow this from Microsoft

Quote:
If /salvagerepository or /resetrepository does not resolve the issue, then manually rebuild repository:

1. Change startup type to Window Management Instrumentation (WMI) Service to disabled
2. Stop the WMI Service; you may need to stop IP Helper Service first or other dependent services before it allows you to stop WMI Service
3. Rename the repository folder: C:\WINDOWS\system32\wbem\Repository to Repository.old
4. Open a CMD Prompt with elevated privileges
5. CD windows\system32\wbem
6 for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
7. Set the WMI Service type back to Automatic and start WMI Service
8. cd /d c:\ ((go to the root of the c drive, this is important))
9. for /f %s in ('dir /s /b *.mof *.mfl') do mofcomp %s
10. Reboot the server
My System SpecsSystem Spec
Reply

 wmi is corrupt




Thread Tools



Similar help and support threads for2: wmi is corrupt
Thread Forum
Solved Can't fix corrupt files Performance & Maintenance
Corrupt AVI Media Center
Corrupt iconcache.db? Performance & Maintenance
is this file corrupt? BSOD Help and Support
Win 7 Corrupt? BSOD Help and Support
Corrupt COM+? BSOD Help and Support
Corrupt ISO's General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:33 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33