After using the Microsoft Store app to update all apps (including WSL), WSL fails to run when run without admin privilege.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\mslin> wsl
Element not found.
Error code: Wsl/ERROR_NOT_FOUND
If I run PowerShell with administrator privileges then I can start it by typing wsl
.
Ubuntu is still intact.
In the following I launched PowerShell with admin privilege, otherwise this command would also fail:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Windows\system32> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
What should I do to fix this?