-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WslRegisterDistribution failed with error: 0x80070057 #12107
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
Diagnostic information
|
Also of note, if I create a full Ubuntu machine in Hyper-V, it also fails to start, this time with error "The process terminated unexpectedly." |
Thank you for reporting this @kurtismcc. It looks like something's wrong inside Hyper-V on your machine. To help root cause this, could you please:
|
I couldn't wait. I reinstalled Windows and everything cleared up. Gonna close this. |
I've met the same error and reproduced the WSL issue. The .etl file has been attached above. |
Windows Version
Microsoft Windows [Version 10.0.22631.4169]
WSL Version
2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu
Other Software
No response
Repro Steps
wsl --install Ubuntu
(Note, error from logs is HcsCreateComputeSystem failed...
"HcsWaitForOperationResult for HcsCreateComputeSystem failed (06AE219D-3D5E-415E-8981-7825C3875F36 {""Owner"":""WSL"",""SchemaVersion"":{""Major"":2,""Minor"":3},""VirtualMachine"":{""StopOnReset"":true,""Chipset"":{""UseUtc"":true,""LinuxKernelDirect"":{""KernelFilePath"":""C:\Program Files\WSL\tools\kernel"",""InitRdPath"":""C:\Program Files\WSL\tools\initrd.img"",""KernelCmdLine"":""initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=32 hv_utils.timesync_implicit=1 earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0 WSL_ENABLE_CRASH_DUMP=1""}},""ComputeTopology"":{""Memory"":{""SizeInMB"":32308,""AllowOvercommit"":true,""EnableColdDiscardHint"":true,""EnableDeferredCommit"":true,""HighMmioBaseInMB"":49152,""HighMmioGapInMB"":16384,""HostingProcessNameSuffix"":""WSL""},""Processor"":{""Count"":32,""ExposeVirtualizationExtensions"":true,""EnablePerfmonPmu"":true}},""Devices"":{""ComPorts"":{""0"":{""NamedPipe"":""\\.\pipe\{6199505c-acdc-4fdb-98cd-7f8efd417065}""}},""VirtioSerial"":{""Ports"":{""0"":{""NamedPipe"":""\\.\pipe\{bbf78d32-27a6-46ba-83aa-278499f90114}"",""Name"":""hvc0"",""ConsoleSupport"":true},""1"":{""NamedPipe"":""\\.\pipe\wsl_debugshell_S-1-5-21-2115390225-1166050209-394841749-1002"",""Name"":""hvc1"",""ConsoleSupport"":true}}},""Scsi"":{""0"":{""Attachments"":{}}},""HvSocket"":{""HvSocketConfig"":{""DefaultBindSecurityDescriptor"":""D:P(A;;FA;;;SY)(A;;FA;;;S-1-5-21-2115390225-1166050209-394841749-1002)"",""DefaultConnectSecurityDescriptor"":""D:P(A;;FA;;;SY)(A;;FA;;;S-1-5-21-2115390225-1166050209-394841749-1002)""}},""Plan9"":{},""Battery"":{}}},""ShouldTerminateOnLastHandleClosed"":true} - error string: {""Error"":-2147024809,""ErrorMessage"":""The parameter is incorrect."",""ErrorEvents"":[{""Message"":""'' could not initialize. (Virtual machine ID 06AE219D-3D5E-415E-8981-7825C3875F36)"",""Provider"":""51ddfa29-d5c8-4803-be4b-2ecb715570fe"",""EventId"":3040,""Flags"":5,""Data"":[{""Type"":""String"",""Value"":""""},{""Type"":""String"",""Value"":""06AE219D-3D5E-415E-8981-7825C3875F36""}]}],""Attribution"":[{""OperationFailure"":{""Detail"":""Construct""}}]})")
Expected Behavior
Successful installation
Actual Behavior
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070057
Error: 0x80070057 The parameter is incorrect.
Diagnostic Logs
WslLogs-2024-09-30_12-58-20.zip
The text was updated successfully, but these errors were encountered: