Skip to main content

WMI Error - Windows Management files may be moved or missing.

WMI ERRORs:

Symptoms:

>>Unable to open System Information.
>>WMI Error - Windows Management files may be moved or missing.


Resolution:

Navigate to Start >> All programs >> accessories >> right click on CMD >> run as administrator, and run the below commands one by one.

1)    sc config winmgmt start= disabled

2)    net stop winmgmt /y

3)    %systemdrive%

4)    cd %windir%\system32\wbem

5)    for /f %s in ('dir /b *.dll') do regsvr32 /s %s   

6)    regsvr32 %windir%\system32\tscfgwmi.dll         

7)    wmiprvse /regserver                                         
                                  
8)    net start winmgmt

9) for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s 

Restart the machine and the issue should be resolved..

Comments

  1. This is amazing. I don't know how long this has been posted but it saved my life today! Thank you!

    ReplyDelete
  2. Thank you very much! This solution solved Windows 8 System Information problem in my laptop.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. so it all worked until the end a few errors were thrown in I restarted thinking maybe they were normal and when I try to run msinfo 32 it still says windows management files may be moved or missing.

    ReplyDelete
    Replies
    1. An error occurred while opening the namespace for object 1 defined on lines 21 - 78:
      Error Number: 0x80070005, Facility: Win32
      Description: Access is denied.
      Compiler returned error 0x80070005 this is what it gave me

      Delete
    2. Sorry for the late reply.

      Have you ran the commands in Admin command prompt

      Delete
  5. C:\Windows\System32\wbem>wmiprvse /regserver
    'wmiprvse' is not recognized as an internal or external command,
    operable program or batch file.

    what to do now?

    ReplyDelete
    Replies
    1. Sorry for the delay in response, kindly ignore this command and proceed further with remaining commands to check the issue

      Delete

Post a Comment