WSL: Ubuntu install failure: OOBE command wsl-setup failed
Windows Version
Microsoft Windows [Version 10.0.22631.5335]
WSL Version
2.5.7.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --install -d Ubuntu
Expected Behavior
Ubuntu installs, creates a default user, and opens a Ubuntu terminal
Actual Behavior
wsl --install -d Ubuntu Downloading: Ubuntu Installing: Ubuntu Distribution successfully installed. It can be launched via ‘wsl.exe -d Ubuntu’ Launching Ubuntu… Provisioning the new WSL instance This might take a while… Create a default Unix user account: kingaj New password: Retype new password: passwd: password updated successfully Failed to create a regular user account OOBE command “/usr/lib/wsl/wsl-setup” failed, exiting`
Diagnostic Logs
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19
Great to hear ! Closing since the issue is fixed.