Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800700b7
The distribution installation has become corrupted.
Please select Reset from App Settings or uninstall and reinstall the app.
Error: 0x800700b7 Cannot create a file when that file already exists.
Press any key to continue...
Activity
icex commentedon Jul 4, 2018
PS: This happened on my PC and on my Laptop, both after a reboot.
MVoz commentedon Jul 5, 2018
#634 (comment)
cmda.exeand so apparently you have something with the system, check for errors
icex commentedon Jul 5, 2018
Thanks. Restarting LxssManager solved it.
"Windows Resource Protection did not find any integrity violations."
nick-walt commentedon Jul 23, 2018
After running
wslconfig /unregister Ubuntu-18.04I received the error that started this thread. Restarting LxssManager service did not resolve it. However, uninstalling the instance did resolve it.KenLast commentedon Sep 16, 2018
Thank you. I ran into the same thing and restarting the service as you describe fixed it.
saidfagan commentedon Nov 3, 2018
I get this error on both Ubuntu and OpenSuse. Restarting LxssManager solves it. But when I restart my Windows problem happens again. Any ideas?
icex commentedon Nov 3, 2018
I had a scheduled task to start some services (using a Vbs script) and I think I had checked run as administrator. I guess that was my cause for this. I could be wrong, but check that if you’re running at startup.
NicholasIoanJones commentedon Dec 5, 2018
Restarting LxssManager solved it for me too
caal-15 commentedon Dec 17, 2018
Restarting the Manager does resolve it, but it happens everytime I start the PC again :(
kj-joseph commentedon Jan 29, 2019
@caal-15: I found this very helpful: #2576 (comment)
caal-15 commentedon Jan 30, 2019
@kj-joseph Thank you!, that was actually really helpful :)
epogrebnyak commentedon May 26, 2019
For those looking how to restart LxssManager, here is an instruction.
objt-ba commentedon Aug 23, 2019
In my case, stopping the LxssManager takes ages, and after stopping it, it won't start again.
After a full system reboot everything works again though.
Now, what I have found, is that if an application displays an exception while being connected through an in-line command. (i.e.
ubuntu1604 <command>) this can sometimes hang the system. My guess is that this command never comes to an end, and as a result there is no way to use that instance anymore. ... until a full system reboot in my case.jrdx0 commentedon Sep 6, 2019
I cant restart LxssManager, it's stop and when I try to run it, console print ERROR 1058
vseal001 commentedon Feb 25, 2020
I found a better way to deal it, first delete the files, then delete reg, then reinstall.
Finaly: its work
CiaranWelsh commentedon Mar 19, 2020
Could you be more specific so others can try and replicate your solution?
ThrashAbaddon commentedon Mar 22, 2020
This can happen if Kasperski is installed.
vjkaran commentedon Apr 12, 2020
Did stopping the Kasperski solve it for you @ThrashAbaddon ?
juanccamachob94 commentedon May 30, 2021
I came here because of this error
error 0x8007010b al iniciar wsl.exe -d Ubuntu-18.04(C:/mnt/c/)It seems that they updated some features of the terminal and my home path

/mnt/c/Users/Developer/Documents/no longer works, but making the following change works, and better, because I can access subdirectories that before the home path did not allow me.(this picture belongs to terminal configuration)
I leave it here in case it helps someone
LiLejia commentedon Nov 15, 2021
Fore those of you still in trouble.
Download rootfs and import manually could at least work.
https://gist.github.com/djfdyuruiry/61e32fb69645bd2618182ee17373d068
Usman-Click commentedon May 18, 2024
Well... i'm here in 2024
in my case it got solved after i reset the distribution
these are the steps :
Open Settings:
Press Windows + I to open the Settings app.
Navigate to Apps:
Go to Apps > Apps & features.
Find Your Linux Distribution:
Scroll through the list of installed apps and find your Linux distribution (e.g., Ubuntu, Debian).
Reset the App:
Click on the distribution and then click Advanced options.
Scroll down and click Reset.
re-open your distribution and ta-da i'll work In shaa Allah
earonesty commentedon Apr 1, 2025
this still works in 2025: #3352 (comment)
markbaydoun commentedon Jun 18, 2025
If anyone runs into this, the solution in #3352 (comment) didn't work for me because
LxssManagerseemed to not be present in my PC and I wasn't able to install it.I was able to fix it with the solution in this SU thread https://superuser.com/questions/1725594/windows-lxssmanager-is-missing-from-services-msc
What worked for me was: in Powershell, run
Restart-Service WSLService