Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxrun is deprecated #216

Closed
thesmart opened this issue Jun 13, 2018 — with docs.microsoft.com · 6 comments
Closed

lxrun is deprecated #216

thesmart opened this issue Jun 13, 2018 — with docs.microsoft.com · 6 comments

Comments

Copy link

lxrun.exe /setdefaultuser username results in:

Warning: lxrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

Error: 0x80070002

Document Details

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

  • ID: 9a09359b-8092-fb08-353c-ae03a91f26b6
  • Version Independent ID: 6a9228f4-5240-8b14-3077-00340bcfdcf1
  • Content: Linux User Account and Permissions
  • Content Source: WSL/user-support.md
  • Service: windows-subsystem-for-linux
  • Product: windows-subsystem-for-linux
  • GitHub Login: @scooley
  • Microsoft Alias: scooley
Copy link
Author

ubuntu config --default-user works for ubuntu at least...

Copy link

This page may state clearly that lxrun.exe was deprecated after the Fall Creators Update.

  • It may include a note at the beginning of the explanation
  • It includes instructions for versions before and after that Fall Creators Update

@james28909
Copy link

i have wsl installed, but not from the windows store. how do i access this ubuntu command?

@JaimeChavarriaga
Copy link

JaimeChavarriaga commented Dec 1, 2018

If you have installed WSL, you may use wsl, bash or the distro name.

@solarkraft
Copy link

It sure would be nice to have a hint in the lxrun docs at what to do now that it is gone. wslconfig seems to work for some tasks, while the distro name is needed for some other ones.

@craigloewen-msft
Copy link
Collaborator

I've updated the reference.md page to have up to date information about command line options for WSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants