测试
全部博文(931)
分类: 架构设计与优化
2019-04-24 14:39:10
Hyper-V是微软的一款虚拟化技术,是微软第一个采用类似Vmware和Citrix开源Xen一样的基于hypervisor的技术。
在Windows 10的powershell命令里,输入如下的命令行:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
遇到如下错误信息:
Enable-WindowsOptionalFeature : Enable-WindowsOptionalFeature failed. Error code = 0x800f0831
Microsoft-Hyper-V Error code = 0x800f0831
At line:1 char:1
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V ...
CategoryInfo : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
再试试第二个命令行:
dism /online /enable-feature /featurename:microsoft-hyper-v-all /All
还是遇到错误码0x800f0831:
The DISM log file can be found at C:WINDOWSLogsDISMdism.log
解决办法是,进入Windows 10的控制面板,在Turn windows features on or off里先安装.NET Framework:
之后就能安装Hyper-V了。
要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码: