WSL-DistroLauncher icon indicating copy to clipboard operation
WSL-DistroLauncher copied to clipboard

Use the windows user CN as WSL2 distro username

Open matt6697 opened this issue 4 years ago • 1 comments

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

matt6697 avatar Dec 15 '20 18:12 matt6697

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.

A-23187 avatar Nov 26 '21 11:11 A-23187