WMI: Rebuilding the WMI Repository - Microsoft Community Hub
https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-rebuilding-the-wmi-repository/ba-p/373846
WEBApr 13, 2009 · for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s. b. Reboot the machine and test WMI. Next, check the repository for consistencies: For Windows Vista , Windows 7 , Windows Server 2008, and Windows Server 2008 R2 , you can run winmgmt /verifyrepository from a command prompt.
DA: 77 PA: 10 MOZ Rank: 74