Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
winmgmt /resetrepository
winmgmt /verifyrepository

Potential Fix #3 - 3rd Party Script

A GitHub user yenpuren maintains a PowerShell script that verifies and rebuilds broken WMI repositories. Their ps1 file can be downloaded from here. Run this in an elevated PowerShell window, click Verify, and then Repair. Once step 14/14 is reached the window can be closed and verify that the missing WMI classes have returned.

Still not Working?

At this point the Windows installation is considered corrupt. Options would be either to attempt system recovery from a Windows ISO, or re-image / reinstall the OS.