I’ve recently had to reinitialize my VS code due to issues with running some of the Torizon IDE tasks. I started from scratch but am currently having an issue with the Torizon IDE Installation Wizard for Windows. Torizon WSL 2 is installed however there is no window for user creation and the “Configure Torizon WSL 2” is automatically checked. I’ve tried reinstalling WSL and can confirm Ubuntu installation and user creation works correctly. If I try to run Torizon in PowerShell, I get:
Welcome to the Torizon WSL 2 v1.0.0
Error: user not created
Error cause: Impossible condition
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
I can help you resolve this Torizon WSL 2 user creation issue. Based on the error message you’re seeing, this is a known issue that can be fixed with a specific command.
Fix for “Error: user not created” Issue
If you were affected by this issue, run the following in a Windows side terminal(1):
Where <distro_user> must be the login name that you register on your Torizon Development Environment for WSL 2 distro(1). This should fix the issue(1).
Alternative Solution Using Password File
If the above doesn’t work, there’s an alternative workaround(2):