WSL: Error reinstalling bash - Error 0x80070005

Hi guys,

I’ve been trying bash for a couple of weeks and I literally ‘Messed around’ with it to test my full Linux stack and whether it could work with my workflow or not.

I’ve got to the point, though, when I broke too many things therefore I decided to reinstall it from scratch. lxrun /uninstall worked as expected but when I now run lxrun /install, this is the output I get

C:\WINDOWS\system32>LxRun.exe /install
-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical
and licensed under its terms available here:
https://aka.ms/uowterms

Type "y" to continue: y
Error: 0x80070005

Also tried to do the same thing opening bash directly but when I type y the bash window disappear!

Thanks in advance and congrats for the amazing job you’re doing!

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Reactions: 2
  • Comments: 22 (8 by maintainers)

Most upvoted comments

@davidedimauro88 - Sorry to hear that it is still not working for you. Can you try these steps and see if that helps?

  1. lxrun /uninstall /full /y
  2. Reboot
  3. Open an admin prompt or through explorer, delete all the content under the %localappdata%\lxss directory.
  4. Install using bash.exe or “LxRun.exe /install”

@NoFlames - You should also just be able to remove %localappdata%\lxss\temp

This error happened to me after the latest update on the release branch OS Build 14393.693 The instructions provided by @sunilmut fixed it, but requires losing all of the data which is not acceptable solution for most people: lxrun /uninstall /full /y Reboot Open an admin prompt or through explorer, delete all the content under the %localappdata%\lxss directory. Install using bash.exe or “LxRun.exe /install”