Skip to content
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

WSL in shutdown loop after upgrade from Windows 10 to 11 #9238

Closed
2 tasks done
Pygex opened this issue Nov 30, 2022 · 1 comment
Closed
2 tasks done

WSL in shutdown loop after upgrade from Windows 10 to 11 #9238

Pygex opened this issue Nov 30, 2022 · 1 comment

Comments

@Pygex
Copy link

Pygex commented Nov 30, 2022

Version

10.0.22621

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

Distro Version

Any

Other Software

No response

Repro Steps

Updrade from Windows 10 to Windows 11. I tried to start my WSL terminal, however, the terminal closed immediately. Since WSL was not working I uninstalled Ubuntu and WSL and now it seems to be stuck in a "shutdown" loop.

I have tried the following from the windows features and restarted multiple times:

  • disabling Windows Hypervisor Platform
  • disabling Windows Subsystem for Linux

Expected Behavior

When starting the terminal window, I would expect the WSL to open the Ubuntu I have installed and enabled the required windows features. When typing in wsl --install -d Ubuntu-20.04 I would expect the installation to go through.

Actual Behavior

The wsl command works in cmd.exe however, if Hypervisor & Subsystem for Linux are disabled, it will only print out the --help menu no matter the command. With Hypervisor & Subsystem for Linux enabled, the wsl.exe reacts to commands. When I try to install a new distribution or update the WSL through wsl.exe or the Microsoft Store, I get the following error code:

0x8007045b

Which is the error code for "shutdown in progress". However, when I type shutdown /a into cmd.exe ,it says Unable to abort the system shutdown because no shutdown was in progress. (1116). This leads me to believe that the WSL system is failing and constantly shutting down after the upgrade to windows 11.

Diagnostic Logs

No response

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant