Many websites says I should use
lxrun /setdefaultuser, but this command is deprecated:
C:\WINDOWS\system32>lxrun /setdefaultuser foo
Warning: lyrun.exe is only used to configure the legacy Windows Subsystem for Linux distribution.
How can I change the default username which is in my case
root. I would like it to be the same username as I use with my Windows account.
Btw I am using mintty to run WSL:
%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= -h err --configdir="%APPDATA%\wsltty" -~