windows 10 安装 docker desktop WMI故障修复方法
打开 Admin cmd 提示符(不是 powershell)并导航到 C:>windows\system32\wbem 并运行以下命令:
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
regsvr32 cimwin32.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b *.mfl') do mofcomp %s
regsvr32 wmisvc.dll
wmiprvse /regserver
运行上述命令后重新启动计算机。
我的问题是 WMI 损坏,上面的命令应该可以修复它。
https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/ba-p/375485

浙公网安备 33010602011771号