How to install Hyper-V feature on Windows 11 client
Presentation
The Hyper-V virtualization module allows you to create one or more virtual machines on a physical server or a PC. In our case, we are going to install it on a PC equipped with Windows 11.
Note that you need a Windows Professional or Enterprise edition license for this.
Prerequisites
- CPU compatible with virtualization instructions
- Virtualization activated in UEFI
- Windows 10/11 Pro or Enterprise license
Install feature
Installation via Windows's GUI
- Go to Start Menu / Settings / Apps / Optional Features
- Click More optional features
Installation with PowerShell
- Open Powershell with admin right
- Insert this command line :
- Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
- Check installation with this command line :
- (Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V).State