3

I cannot use WSL(Ubuntu on Windows). When I run bash in CMD, I will get an error

Error:0x8007001f

But I can use it normally before some days, I don't know which my operation result in this problem. Please help me out.

2
  • 1
    0x8007001f appears to be an update error of some description. If you have the Fall Creators Update have you installed Ubuntu from the Windows Store? microsoft.com/en-gb/store/p/ubuntu/9nblggh4msv6
    – Mokubai
    Dec 23, 2017 at 9:13
  • @Mokubai Thanks for save me. You solution is work for me.
    – yode
    Dec 23, 2017 at 9:34

1 Answer 1

1

0x8007001f appears to be an update error of some description.

If you have the Fall Creators Update have you may need to install Ubuntu from the Windows Store.

Microsoft Store: Ubuntu


If you are missing the bash.exe command then apparently you need to set up the default distribution (as mentioned by nightwolfz in that thread):

You can solve it by checking which distro's are installed with:

wslconfig.exe /l

and then setting default distro with:

wslconfig.exe /s Ubuntu

Enjoy fixed bash.exe !

This is necessary as you can now have multiple different distributions installed.

3
  • I realise the problem is still, I mean, I can run WSL here now. But I cannot startup WSL by run bash in CMD
    – yode
    Dec 23, 2017 at 9:53
  • @yode added to my answer
    – Mokubai
    Dec 23, 2017 at 10:06
  • Thanks anyway, it seem my old Ubuntu is broken. I enven cannot use LxRun.exe /uninstall to uninstall it..But I can normally use the new one now
    – yode
    Dec 23, 2017 at 10:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .