![]() Open PowerShell as Administrator and run (this command can be found here in the official docs): dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart 4. Enable Virtual Machine featureīefore installing WSL 2 you have to enable this feature. Enable Intel VT-d or AMD IOMMU if the options are available.Īfter enabling virtualization, you can save and reboot. ![]() The setting to enable virtualization may be called VT-x, AMD-V, SVM, or Vanderpool. The CPU settings can probably be found under Processor, Chipset or Northbridge. Motherboard information output for an MSI motherboard In your CPU overview you can see if virtualization is enabled. To enable the virtual machine feature (in step 3), your machine will require virtualization capabilities. Open your PowerShell as an Administrator and run this command (you can find this command here in the official docs): dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 2. Enabling WSL 2īefore running WSL 2 we have to enable WSL 1 first (if you already have set up WSL 1 you can go to step 2). If you have everything set up for WSL 2 ( Virtual Machine feature enabled and Linux kernel update) and already a Linux distribution installed with WSL 1, you can go to step 8, where I show you how you can change the assigned version.
0 Comments
Leave a Reply. |