wmi is corrupt

Page 1 of 2 12 LastLast

  1. Posts : 15
    W7 PRO x64
       #1

    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 Computer


  2. Posts : 1,454
    Windows 7 ultimate x64
       #2

    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.
    Last edited by centaur78; 01 Aug 2012 at 07:35.
      My Computer


  3. Posts : 15
    W7 PRO x64
    Thread Starter
       #3

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


  4. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #4

    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 Computer


  5. Posts : 15
    W7 PRO x64
    Thread Starter
       #5

    Hey Kegobeer,
    the improper shutdowns is from my graphics card stuffing up,
    i have tried the following commands:
    WMIDiag CorrelateClassAndProvider
    WMIDiag WriteInRepository=root
      My Computer


  6. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #6

    Have you had BSODs?
      My Computer


  7. Posts : 15
    W7 PRO x64
    Thread Starter
       #7

    once while i was editing a .txt file on my desktop
      My Computer


  8. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #8

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

    https://www.sevenforums.com/crashes-d...tructions.html
      My Computer


  9. Posts : 2,528
    Windows 10 Pro x64
       #9

    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 Computer


  10. Posts : 1,454
    Windows 7 ultimate x64
       #10

    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

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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:13.
Find Us