Enable the Windows Subsystem for Linux (2024)
Enable the Windows Subsystem for Linux
-
Before installing any Linux distributions on Windows, you must first enable the "Windows Subsystem for
Linux" optional feature.
Run the following commands in PowerShell or command prompt as an administrator:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- If you get
"Elevated permissions are required to run DISM. Use an elevated command prompt to complete these tasks".
error follow steps as given below:Run a window command with "Elevated Permission"