Tutorial to setup Windows 11 and use Ubuntu in a virtual machine (VM).
- Windows 11 Pro
- Virtualization enabled
- Go to Task Manager > Performance > CPU. Make sure
Virtualization
isEnabled
. - If not, you must enable Virtualization in your UEFI
- Go to Task Manager > Performance > CPU. Make sure
- Open Powershell command or Windows Terminal and enter command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
- Now launch Hyper-V Quick Create and chose Ubuntu 22.04 LTS and confirm with "Create Virtual Machine"
To setup a network card for Hyper-V, see: https://learn.microsoft.com/en-us/answers/questions/133130/hypver-v-how-to-enable-access-internet-access-on-t