![]() wsl - set-default-version 2 Setting the default version of WSL to 2 Kali Linux Installation After the package is installed run the Powershell again and run the following command to make sure the WSL is set to the default version 2. Navigate here to download and install the package. Now after the computer restarts, we need to update the kernel package for our WSL2. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartĤ. ![]() dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Enabling the VM featureĪfter the above command successfully executes run the below command and restart your system. This will enable the virtual machine feature. After the restart, run the Windows PowerShell as an administrator again and execute the following command. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Enabling WSLģ. After the command executes you will be prompted for a system restart, go ahead and perform a restart. Type the following command in the PowerShell. Run Windows PowerShell as an AdministratorĢ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |