How do I change the default user in wsl2?
Answer
Specifically go to:
Answer
Specifically go to:
- Find your UID for your username in your Linux distro typing in the command id -u <yourUserName> . …
- Open registry edit and navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionLxss{MY-UUID} . …
- Replace the DefaultUid value with the UID value of the user in your distro.