热门
最新
红包
立Flag
投票
同城
我的
发布
安装docker时报错
在csdn和overstack上找了许多资料,终于发现了问题所在:WMI 损坏
可参考:https://www.likecs.com/ask-10346899.html
解决方案:打开 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
运行上述命令后重新启动计算机。
CSDN App 扫码分享
评论
1
打赏
- 复制链接
- 举报