最佳答案
在 Docker 4.7.1 中花了相当长的时间解决同样的问题后,我能够按照建议的解决方案解决这个问题 here .这是我所做的。
打开 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 和上面的命令应该可以修复它。
关于Docker 桌面安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66490624/