You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I wasn't successful with importing and enabling the default user.
Complete steps:
# 1. export default or Ubuntu-20.04
wsl --export Ubuntu c:\Temp\UbuntuBackup.tar
# 2. copy the file to the new machine and import or Ubuntu-20.04
wsl --import Ubuntu c:\Linux c:\Temp\UbuntuBackup.tar
# 3. Configure user or Ubuntu2004.exe config --default-user {user}
ubuntu.exe config --default-user {user}
The text was updated successfully, but these errors were encountered:
Starting point for the export/import : https://www.hanselman.com/blog/how-to-set-the-default-user-for-a-wsl-distro-that-has-been-manually-installed-with-wsl-import.
Step that worked for me: microsoft/WSL#4276 (comment)
Unfortunately, I wasn't successful with importing and enabling the default user.
Complete steps:
The text was updated successfully, but these errors were encountered: