Update Hyper-V disable instructions for Windows 11

Windows 10 commands / methods are not enough to disable Hyper-V
This commit is contained in:
Gonçalo Rendeiro 2022-06-06 13:16:41 +01:00 committed by GitHub
parent 685f9d527b
commit 33e8e2cf38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,11 +81,16 @@ Restart your machine and try running vagrant again.
### Windows, VirtualBox, and Hyper-V
If you wish to use VirtualBox on Windows, you must ensure that Hyper-V is not enabled
on Windows. You can turn off the feature by running this Powershell command:
on Windows. You can turn off the feature by running this Powershell command for Windows 10:
```powershell
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
```
For Windows 11, you can run on an elevated Powershell:
```powershell
bcdedit /set hypervisorlaunchtype off
```
You can also disable it by going through the Windows system settings: