WMIDiag is deprecated, but the following commands seem to fix. cd C:\Windows\System32\WBEM dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s from: https://www.virtuallyboring.com/microsoft-wmi-invalid-class-error-0x80041010/ This is needed to fix docker desktop install error: "component communityinstaller.enablefeaturesaction failed: not found"