baifuyou
baifuyou

Reputation: 69

error 0x80004005 when install bash on ubuntu on windows 10

I get the error 0x80004005 when I install bash on Ubuntu on Windows 10.OS insider preview china.

How do I fix it?

enter image description here

Upvotes: 5

Views: 7450

Answers (4)

matemaciek
matemaciek

Reputation: 631

In my case this error disappeared after freeing some space on disk (<1GiB was not enough).

Upvotes: -1

Sushant Rajbanshi
Sushant Rajbanshi

Reputation: 2010

If creating an account with English letters didn't fix the issue, then I'd suggest you to try out this approach.

  • Run Windows + R
  • Type SystemPropertiesAdvanced & Hit Enter
  • Click settings in the performance group.

    enter image description here

  • Select Change option in Advanced tab, then deselect the automatically manage paging file size for all drives option.

  • Select custom size and enter 800 for initial size, 1024 for maximum size.

    enter image description here

  • Apply changes and restart.

Upvotes: 0

mrmemio29
mrmemio29

Reputation: 398

You must use an English name for your home folder, this is because bash on windows currently only supports ASCII characters. I had the same issue with Cyrillic and I fixed it by making a new account with English.

Upvotes: 1

Jim
Jim

Reputation: 31

I've also encounter the problem. It's because the Microsoft account will create Chinese user folder name if you sign-in with your Microsoft account first time. The extracting process seems not work well on DBCS folder.

I've create a new local admin account in English and then try to sign-in Microsoft Account again, the problem has been solved.

Upvotes: 3

Related Questions