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

Popular posts from this blog

Unable to Install SCCM Client- File C:\Windows\ccmsetup\MicrosoftPolicyPlatformSetup.Msi Error text : ExitCode: 1625

Today while troubleshooting SCCM client issue in one of the server I came across the below issue and thought of sharing with all of you. Hope it helps. Issue: Unable to Install SCCM Client getting below error in CCMSetup.log Reason:  Per the below log entry, setup was failing because the installation of MicrosoftPolicyPlatformSetup.Msi failed in the backend. Resolution: To resolve the issue, we need to perform manual installation of MicrosoftPolicyPlatformSetup.Msi. To perform the installation, follow below steps: Go to C:\windows\ccmsetup\ and right click on MicrosoftPolicyPlatformSetup.Msi and run as administrator to install it manually Post installing the MicrosoftPolicyPlatformSetup.Msi, run the CCMSETUP.exe setup once again and monitor the logs to check the installation status and the log should end with ccmsetup is exiting with return code 0. Post installation you can verify the configuration manager client in control panel and it should show all the 11

Unable to transfer Schema master role from Primary Domain Controller to Additional domain controller (backup server) In Windows Server

Issue: Unable to transfer Schema master role from PDC to ADC. Symptoms: You will get below error while transferring Schema master using NTDSUTIL fsmo maintenance: seize schema master Attempting safe transfer of schema FSMO before seizure. ldap_modify_sW error 0x32(50 (Insufficient Rights). Ldap extended error message is 00002098: SecErr: DSID-0315137D, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0 Resolution: Add your user to Enterprise admin  group in Active directory to resolve this issue.

Configuring Service Connection Point Role in System Center Configuration Manager 1702 Version

In Today’s guide, we will learn about Installing Service connection point role in Configuration Manager version 1702 . Using Service connection point role, we can keep the Configuration Manager up to date with latest updates. Before moving forward, we will understand about the Service Connection Point role in brief. What is Service Connection Point Role? A service connection point connects Configuration Manger to Microsoft cloud services and is used for Microsoft Intune subscription and servicing, and to update your Configuration Manager installation. This will help you in keep your Configuration Manager installation up-to date with latest updates. To install Service Connection Point Role, follow the below steps . Open Configuration Manager Console. From Workspace, Click on Administrations as shown in below screenshot In Navigation Pane – expand Site Configuration – Right click on Sites – and click on Add Site System Roles to proceed further. On General Screen, provide or