Hyper-V is a virtualization technology from Microsoft that is Microsoft’s first hypervisor-based technology like VMware and Citrix’s open source Xen.

In the Windows 10 PowerShell command, type the following command line: enable-windowsoptionalfeature-online-featurename Microsoft-hyper-v-all

The following error message was encountered:

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

Try the second command line:

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

Error 0x800F0831 is still encountered:

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

The solution is to go to the Windows 10 Control Panel and install it in Turn Windows Features on or Off. NET Framework:

Then you can install Hyper-V.

For more of Jerry’s original technical articles, please follow the official account “Wang Zixi” or scan the QR code below: