Wsl: lxrun command not fun

Created on 12 Feb 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/WSL

I tried reinstalling WSL by running lxrun /uninstall /full /y but the lxrun is not found.
Running it on powershell.exe (as admin)


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

@dmitry-borzov Thanks, however I have removed via rm -Recurse $env:localappdata/lxss/ according to https://superuser.com/questions/1357266/deleting-wsl-after-installing-ubuntu-from-windows-store

All 4 comments

I have the same problem.

wslconfig /unregister Legacy

Get more information:
wslconfig --help

@dmitry-borzov Thanks, however I have removed via rm -Recurse $env:localappdata/lxss/ according to https://superuser.com/questions/1357266/deleting-wsl-after-installing-ubuntu-from-windows-store

lxrun is deprecated, I'll be fixing the docs shortly. I'm tracking this in issue #425

Was this page helpful?
0 / 5 - 0 ratings

Related issues

horvan picture horvan  Â·  4Comments

Oxfos picture Oxfos  Â·  3Comments

sferich888 picture sferich888  Â·  3Comments

RafneQ picture RafneQ  Â·  8Comments

frantret picture frantret  Â·  5Comments