LxRunOffline: Other distros stopped working after the Windows April 2018 update

With the latest update existing distros installed previously stopped working. But the officially installed Ubuntu is working fine.

How to get around this?

Errors (mintty):

/bin/wslbridge: Exit 1.
wslbridge error: failed to start backend process
note: bash.exe output: Error: 0x80070005

Also:

G:\LxRunOffline-v2.2.2>LxRunOffline.exe run -w -n ubuntu222
Error: 0x80070005

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 23 (9 by maintainers)

Commits related to this issue

Most upvoted comments

The system attempts to inject new ‘/init’ after being updated so it needs the distro to be started with administrative privileges. Just make first run of ‘LxRunOffline.exe run -n distro’ in cmd console that is started as ‘Run as administrator’.

This is related to the folder permission. There is a workaround mentioned in this thread https://github.com/Microsoft/WSL/issues/3304#issuecomment-398489972

Let say you want to install in D:\foo\bar. Then run this command before installation: icacls "D:\foo\bar" /grant Everyone:(OI)(CI)(F). You may replace Everyone with %username%.

Hope this will solve your issue!