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

Use the windows user CN as WSL2 distro username #87

Open
matt6697 opened this issue Dec 15, 2020 · 1 comment
Open

Use the windows user CN as WSL2 distro username #87

matt6697 opened this issue Dec 15, 2020 · 1 comment

Comments

@matt6697
Copy link

Would it be possible to add a launcher option to automatically retrieve and configure the Active Directory CN of the logged-in user as default WSL2 user ? This would help to ensure smooth WSL2 deployment in enterprise environment without prompting users at WSL2 initial launch.

https://docs.microsoft.com/fr-fr/windows/win32/api/winbase/nf-winbase-getusernamea?redirectedfrom=MSDN

@A-23187
Copy link
Contributor

A-23187 commented Nov 26, 2021

This repo is just a reference implementation of the WSL distro launcher. I think you can check if the distro you want to deploy supports some additional options for automatic deployment.

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

2 participants