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
Graphical installer apparently completes its steps but the console shows error 0x80004004 Operation aborted and applies the fallback method, which fails if the username provided is the same previously provided to the GUI because the installer did create the user in the first place.
wsl --status
Distribuição Padrão: UbuntuDev.WslID.Dev
Versão Padrão: 2
WSL1 não é compatível com a configuração atual da máquina.
Habilite o componente opcional "Windows Subsystem for Linux" para usar WSL1.
Versão do WSL: 0.58.3.0
Versão do kernel: 5.10.102.1
Versão do WSLg: 1.0.33
Versão do MSRDC: 1.2.2924
Versão do Direct3D: 1.601.0
Versão do Windows: 10.0.22598.200
Windows build number
Windows 11 Dev channel (build 22598)
Test Case
Make sure ubuntu-22.04 is not already registered
Run ubuntu2204.exe --ui=gui from command line (to ensure GUI mode will be applied).
Follow the graphical installation steps. Take a note of the username provided.
When allowed click on the "Finish" button.
Actual result
Error message 0x80004004 Operation aborted is displayed, fallback method is applied and it subsequently fails if the same user name is provided because the user was already created by the installer GUI.
Installer did not complete successfully.
Error: 0x80004004 Operation aborted
Applying fallback method.
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: carlo
adduser: The user `carlo' already exists.
Enter new UNIX username:
Expected behavior
No error messages and Linux shell opened with the newly created user logged in.
The text was updated successfully, but these errors were encountered:
This seems only reproducible with the latest Windows 11 build, from insiders program. Failed to reproduce it with a couple of older builds, only succeeding with this one: 22598.200.
Windows 11 build 22598 users reported GUI mode failed but worked.
Thus, when applying the fallback with the same username,
The fallback method also failed.
OOBE is returning a failed exit code, but Subiquity concluded its work.
This ensures to return 0 if server-state is successful.
Returns OOBE error code otherwise.
Fixes issue #180
Graphical installer apparently completes its steps but the console shows error
0x80004004 Operation aborted
and applies the fallback method, which fails if the username provided is the same previously provided to the GUI because the installer did create the user in the first place.wsl --status
Windows build number
Windows 11 Dev channel (build 22598)
Test Case
ubuntu2204.exe --ui=gui
from command line (to ensure GUI mode will be applied).Actual result
Error message
0x80004004 Operation aborted
is displayed, fallback method is applied and it subsequently fails if the same user name is provided because the user was already created by the installer GUI.Expected behavior
No error messages and Linux shell opened with the newly created user logged in.
The text was updated successfully, but these errors were encountered: