Japanatron Logo

A corrupt WMI repository can mess up things like the Symantec management agent and its ability to deploy software.  If you check properties of "WMI Control" in Computer Management (under Services & Applications), and it shows problems, then the PC likely has a WMI issue.  Here's how to repair it.

I use powershell remoting to remotely run this, but it can be done at the PC's command line too.  The command format below assumes powershell remoting.

Check the WMI repository.
1. Go to C:\Windows\system32\wbem
2. winmgmt /verifyrepository

If errors are found, try to repair the repository.
1. winmgmt /salvagerepository

Still not working?  Then totally rebuild the repository.
1. Stop the Windows Management Instrumentation service.
2. Rename the C:\Windows\system32\wbem\repository folder to something like repository-old
3. Re-register relevant DLLs: cmd.exe /C "for /f %s in ('dir /b *.dll') do regsvr32 /s %s"
4. Re-register all the MOF files: cmd.exe /C "for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s"
5. Start the Windows Management Instrumentation service.

Related Articles

Windows - Turn Off Internet Ex...

Yes, I know it's a security feature, but it's very frustrating for my colleagues that constantly download PDFs via Internet Explorer, confirming each and every ...

Dell Windows 7 Laptop and Wifi...

PROBLEMThe Dell Latitude E7270 & E7250 laptops my company uses have various wifi-related issues under 32-bit Windows 7.  They won't connect to certain wifi ...

RDP - Enable Remote Desktop in...

1. Open registry editor (regedt32) and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server.  Registry editor can also connect to rem...

The Hunt for the Ultimate Free...

I spent some time researching top-rated, but free antivirus security software for both Mac and Windows.  There are far more free antivirus software solutions ou...