

Open up the Start menu and search for PowerShell. These services come with Windows but are turned off by default until you decide you need them. The first thing you need to do is enable specific Windows services so that you can run the WSL. Step 1 - Enabling Windows Services for the WSL If you are not installing the WSL on a virtual machine, you can skip this warning entirely.

Set-VMProcessor -VMName MyWSL -ExposeVirtualizationExtensions $true.Replace MyWSL with the name of your VM in Hyper-V: This is a Windows command so you will need an elevated PowerShell prompt to do this. For example, if you are installing the WSL on a virtualized Windows 10 that is running in Hyper-V named MyWSL you will need to run the following command on the virtualization host, not the virtual machine. Warning: If you are installing the WSL on a virtual machine you will need to expose CPU virtualizations flags to the virtual machine. Builds lower than this will not support the WSL 2. For ARM64 systems, version 2004 or higher with build 19041 is required.

Linux 2 requires Windows 10 version 1903 or higher with build 18362 or higher.
