Rebuild the WMI/CIM Repository

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
  • Disable and stop the winmgmt service
  • Remove or rename C:\Windows\System32\wbem\repository
  • nable and start the winmgmt service
  • Open Command Prompt as Administrator
  • Run the following commands:
cd C:\Windows\System32\wbem\
for /f %s in ('dir /b *.mof') do mofcomp %s
REM NOTE: This will take a minute or so to complete.
for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s