天天看點

在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831

Hyper-V是微軟的一款虛拟化技術,是微軟第一個采用類似Vmware和Citrix開源Xen一樣的基于hypervisor的技術。

在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831

在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 …

在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831

CategoryInfo : NotSpecified: (😃 [Enable-WindowsOptionalFeature], COMException

FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

再試試第二個指令行:

dism /online /enable-feature /featurename:microsoft-hyper-v-all /All

還是遇到錯誤碼0x800f0831:

在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831

The DISM log file can be found at C:WINDOWSLogsDISMdism.log

解決辦法是,進入Windows 10的控制台,在Turn windows features on or off裡先安裝.NET Framework:

在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831
在Windows 10 系統上啟用Hyper V遇到的錯誤:0x800f0831

之後就能安裝Hyper-V了。

繼續閱讀