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
kenpachizero

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
centaur78

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
kenpachizero

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
kegobeer

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
kenpachizero

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
kegobeer

Windows 7 Ultimate x64 SP1
 
 

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

W7 PRO x64
 
 

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

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
cluberti

Windows 8.1 x64
 
 

Don't try to rebuild WMI manually on Win7, 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
centaur78

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
Thread Forum
nvidia fsb overclock,mgr corrupt ,boot image corrupt ,cannot reformat
nvidia sys tool changed the fsb overclock system hanged did a reboot sys boot image corrupt mgr corrupt ,boot image corrupt i cannot reinstall windows as well,when i insert bootable usb windows 7,8.1(also the current os i am runnning ) it auto enters repair mode wihout any option before...
Installation & Setup
Win 7 corrupt MBR
Dear forum members I need some help please. I am currently in Directory services repair safe mode. My MBR is corrupted. The Computer is in a continued restart mode. I can get to safe mode only via f8. I do not know what caused this problem. I do have easy BCD and have tried to reset my MBR but it...
General Discussion
Corrupt AVI
Hello, I had a problem with Windows Live Movie Maker locking up when I tried to do anything. So I uninstalled and did a reinstall of it. Now, I recently recorded some screen captures with Camstudio v2. WLMM is telling me that all of these files are corrupt, but they play correctly in Divx...
Media Center
Win 7 Corrupt?
Well I recently had Vista totally crash on my laptop. Being that I'm now a college student, my dad recommended seeing if I could get a good deal on Win7. Well I did, but it had me download it to my now re-installed Vista, but it wanted me to install it on a different partition. So I did, but Vista...
BSOD Help and Support
Corrupt COM+?
I am running Windows 7 Ultimate (Build 7100) and was having no problems at all until about 2 months ago. It seems that any time I try to install something I get an error. For example, I had TortoiseSVN installed on my Windows 7 machine and was notified that an update was available. So, as...
BSOD Help and Support
Corrupt ISO's
allright now i got allot of these on my HDD now for some reason almost all of them, and i got alot of LINUX and Windows ISO's that i have downloaded off of the MSDNAA site and my ISPs downlaod site andi really dont want to have to download them again, so do you know if there is a way to fix these?...
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 08:52.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App