WMI spots a repair tutorial

Under normal circumstances, WMI will work properly, but occasionally there were minor problems.

These small problems will affect the program is using WMI, such as setting the wired and wireless networks are still dependent on the WMI. WMI if they did not fully work, some will not obtain the data.

There is no problem to look at WMI

ctrl + R operating wmimgmt.msc, then right -> Properties

As described WMI normal. That question look like? ? The picture below is not a problem. For example, xxxx the error "invalid class" appears (invalid category)

Together to repair WMI

First cmd, run net stop winmgmt

Look command also know that this is out of service used, it will stop range of services (other services may depend on WMI, will prompt will be stopped). WMI stop in case it can not afford it?

To serve, directly stopped! (Perhaps pause and then stop)

After all stopped, we went to C: \ Windows \ System32 \ wbem, the repository to rename.

Restart ~~~~~

Again run net stop winmgmt

The last run winmgmt / resetRepository

reset reset the repository, get, and then shut down restart, probably just fine.

So long list. . The Repository sentence is reset.

Guess you like

Origin www.cnblogs.com/yinghualuowu/p/11002198.html