Install and configure WSL2 on Windows 10

4. Once completed, now enable the 'Virtual Machine Platform' optional component. Open a PowerShell command prompt as an Administrator and run the following command: PS C:\> Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform After these changes are enabled you will need to restart your computer. Press Y to do so when you ... ................
................