Fix `install requested operation requires elevation` when installing WSL

April 14, 2022  ‐ 1 min read

Installing Windows Subsystem for Linux requires you to run the command wsl --install in the command prompt or Windows PowerShell. However, such an operation requires special permissions. Like you need sudo for certain commands in Linux. In Windows you don’t obtain these permissions by using a command like sudo. Instead you should run your terminal program as administrator.

Running a program, the Windows PowerShell in my case, as Administrator can be done by a right-mouse-click on the program icon.

Run PowerShell as Administrator