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
Error 0x80040154 when trying to open bash #960
Comments
Hi @aseering I have seen this error in the past. Normally what happens here is the Windows Subsystem for Linux feature is somehow turned off during the update. If you go in and re-enable the Windows feature everything should start working for you again. This happened quite a bit on an old Windows Insider build back when we first started doing Insider builds for the Anniversary Update. Writing a new bug on the Windows feature team now that we have two instances of it here (#896). |
i had the same error, i just re tick Linux Sub System from control panel to install it once again and it worked now |
Thanks @russalex for the explanation! And the link -- I thought I had seen something like this recently; I searched for the error code before posting but forgot to include closed issues. The first time after I ran the command, I was prompted as follows:
bash then spun for a while and then exited without installing successfully. (I opened bash from the Start Menu shortcut so it closed before I could read any error output.) I ran it a second time and the installation proceeded successfully. So it works fine now. For what it's worth, when I went to check (before re-enabling WSL), I found that the laptop was in "Developer" mode but a spinner appeared beneath that selection indicating that it was installing some components. It succeeded and prompted me to reboot. Maybe WSL got disabled because Developer mode was missing a dependency? No idea; just passing information along. |
I had the same issue too ... bash support was working before the Windows upgrade. But it was unchecked when I looked at it again. |
Same problem here. After re-enabling the Unix subsystem, it works again, BUT all my files in /home/myname were gone ... sigh |
I just had this issue as well. It took a while for me to find this because I only get the error code when running bash from While Needless to say, this has been a very negative experience. If I have to go through this rigmarole every time there is an update, I probably just wont bother. |
Same issue here as well, the unix subsystem feature had become disabled. Once I enabled I had to reboot and on first run it reinstalled. I do seem to have also lost my profile and installed applications. |
Same issue running Windows creator update (free trial, no updates, just enabled developer mode and subsystem) in virtual-box(just standard settings -next,next,next) on OSX |
I use ssh from mac to windows. I expect to ssh into WSL, but seems got windows cmd for instead. |
I also get this error using
If you run
|
For everybody with this issue (described by @aseering), there is solution how to fix your computer.
|
I believe this issue should no longer be present in 1803. Please let us know if you continue to hit this issue. |
Had this happen in 1803, after a restart trying to run Restarting the LxssManager service seems to solve the issue, after the restart. |
Please use the following bug reporting template to help produce actionable and reproducible issues:
When I run "bash.exe" from a command prompt, or use the Bash start-menu shortcut, I get the following:
bash should open and give me a prompt
14905.1000
This only happens for me on one machine. I have been running the Fast Ring on this machine for some time (a couple months at least); bash was working fine as of the release of the Anniversary Update, but seems to have subsequently stopped working. I haven't been doing much interesting on this machine lately other than taking new Fast Ring releases (no new software, no intentionally messing with system files, mostly just e-mail and casual Web browsing); nothing that I would expect to affect WSL's basic functionality.
My assumption is that something got uninstalled for some reason. I plan to go erase and reinstall stuff until it works again. Let me know if there's any debugging information that I should capture before I do, to help figure out what happened to see if it's a bug or other issue that could be tracked down and fixed.
-------- HELP! --------
Sorry for injecting this into Adam's issue report, but we're requesting your help to track-down the root cause of this issue!
If you are experiencing this issue and are willing to help is track this issue down, please gather following logs:
Then, please email richturn at Microsoft d-o-t c_o_m, so that we can arrange secure transfer of your logs for our engineers to diagnose.
Thanks in advance
----------------
The text was updated successfully, but these errors were encountered: