Skip to content

When installing a distribution the process fails with: "WslRegisterDistribution failed with error: 0x800706be. #5768

Closed

Description

Environment

Windows build number: Win32NT 10.0.20190.0 Microsoft Windows NT 10.0.20190.0
Your Distribution version: Can not be verified, as distro does not launch due to installtion error.
Whether the issue is on WSL 2 and/or WSL 1: Can not be verified, as distro does not launch due to installtion error.

Steps to reproduce

Turn on Hyper-V in feature settings -> Turn on WSL in feature settings-> Restart -> Download some distro -> Launch distro.

WSL logs: https://aka.ms/AA99uko

Expected behavior

Distro should install on system.

Actual behavior

Installation terminates with error code 0x800706be.

Activity

  1. IPlayZed commented on Aug 16, 2020

    @IPlayZed
    Author

    Update
    It seems like this is a bug in the preview build.
    The process worked flawlessly when rolled back to a previous build.

  2. ajpeacock0 commented on Aug 16, 2020

    @ajpeacock0
    Member

    Hitting same issue on Windows 10 Enterprise Insider Preview 20193. Launching Ubuntu fails with:

    WslRegisterDistribution failed with error: 0x800706be
    Error: 0x800706be The remote procedure call failed.
    

    I tried disabling the WSL feature from "Turn Windows features on or off", rebooting, turning it back on with no success.

  3. zanettea commented on Aug 17, 2020

    @zanettea

    I have the same issue. Looks like the lsxxmanager is crashing when the distro tries to install:

    Faulting application name: svchost.exe_LxssManager, version: 10.0.20190.1000, time stamp: 0xb3740412
    Faulting module name: lxssmanager.dll, version: 10.0.20190.1000, time stamp: 0xca1f91f1
    Exception code: 0xc0000005
    Fault offset: 0x000000000003192d
    Faulting process id: 0x46e4
    Faulting application start time: 0x01d674a49588d0e4
    Faulting application path: C:\WINDOWS\system32\svchost.exe
    Faulting module path: c:\windows\system32\lxss\lxssmanager.dll
    Report Id: 5fa5be4b-5fc7-416c-bd17-24c6bc9d8f3e
    Faulting package full name:
    Faulting package-relative application ID:

  4. yurividal commented on Aug 18, 2020

    @yurividal

    Same problem on Insider 20190

  5. Loca123 commented on Aug 18, 2020

    @Loca123

    I'm also having this issue. I've only managed to get WSL2 working correctly on 1 of 3 machines so far. All running 20190.

  6. camille-ryan commented on Aug 18, 2020

    @camille-ryan

    Loca123 any ideas on what made it work on the one successful machine?

  7. Duayt commented on Aug 18, 2020

    @Duayt

    I was able to resolve the problem by cleaning up some system file using disk cleanup together with the solution from GeorgeApostolopoulos1 in this link

    copying from his suggestion:
    Basically he reset a number of related services, while clearing out your temporary folder, eliminates this error. you can do this by making the following .bat file on your desktop and running from there:

    net stop wuauserv
    net stop Cryptsvc
    ren %windir%\SoftwareDistribution sdold.old
    ren %windir%\system32\catroot2 crt2old.old
    net start wuauserv
    net start Cryptsvc

    Need to give GeorgeApostolopoulos1 the credit for this

  8. yurividal commented on Aug 18, 2020

    @yurividal

    I was able to resolve the problem by cleaning up some system file using disk cleanup together with the solution from GeorgeApostolopoulos1 in this link

    copying from his suggestion:
    Basically he reset a number of related services, while clearing out your temporary folder, eliminates this error. you can do this by making the following .bat file on your desktop and running from there:

    net stop wuauserv
    net stop Cryptsvc
    ren %windir%\SoftwareDistribution sdold.old
    ren %windir%\system32\catroot2 crt2old.old
    net start wuauserv
    net start Cryptsvc

    Need to give GeorgeApostolopoulos1 the credit for this

    Unfortunately this did not work for me. Tried running theses commands manually, tried them in a .bat file, and also used disk cleanup to clean every cleanable bit. WSL still fails to install.

  9. Loca123 commented on Aug 18, 2020

    @Loca123

    Loca123 any ideas on what made it work on the one successful machine?

    I've just noticed that it looks like virtualization might be off in the BIOS on the machine that has this error. Unfortunately it's remote so I'm not sure when I'll be able to get that enabled and see if it fixes anything. I'll update here after I've enabled it.

    I've managed to get a second machine out of the three working properly now. That was actually a different issue, it was unable to connect to the internet. Running "Network reset" and adding "nameserver 8.8.8.8" to the resolv.conf seems to have fixed that one.

  10. camille-ryan commented on Aug 19, 2020

    @camille-ryan

    The solution Duayt linked did not work for me either. Also just enabled bios virtualization, and that didn't fix things for me either. Will be interesting to see if that fixes things for Loca123

  11. benhillis commented on Aug 20, 2020

    @benhillis
    Member

    Thanks for reporting, I have identified the issue and a fix is incoming. Change needs to make it to the rs_prerelease branch but I'm optimistic the first Insider Fast build in September will have the fix.

  12. dudeisbrendan03 commented on Aug 20, 2020

    @dudeisbrendan03

    Anything we can do in the meantime before the fix is out?

  13. 36 remaining items

  14. JTDaddy17 commented on Sep 11, 2020

    @JTDaddy17

    Having problems with this error too, currently on Insider Release Preview Channel 20H2 19042.508

  15. tigerblue77 commented on Sep 12, 2020

    @tigerblue77

    Fixed in 20211.

    Nope, I reinstalled everything (WSL + Debian distro) and same error

  16. toddmc commented on Sep 13, 2020

    @toddmc

    Fixed in 20211.

    I recently installed 20211. Even with 20211, I initially had issues with running ubuntu. After trying some series of steps here, I was able to get ubuntu 20.04 to run briefly. Unfortunately, I am now getting the following message when starting it:

    WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
    Press any key to continue...

    And the 3 ways that I know to update the kernel are failing for me:

    • Windows Update
      There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643)

    • Download from https://aka.ms/wsl2kernel
      When running wsl_update_x64 I get a prompt to insert a 'Windows Subsystem for Linux Update' disk. It fails when I do not.

    • wsl --update
      Same as above

  17. doctordns commented on Sep 14, 2020

    @doctordns

    Fixed in 20211.

    No. It's not. At least not here...

    First time I try to install ubuntu:

    2020-09-14_10-15-40

    Then I try again and show the Winver

    2020-09-14_10-17-36

  18. hylowaker commented on Sep 15, 2020

    @hylowaker

    Upgrading from 20206 to 20211 caused the error.

    When I rollbacked to 20206, the error is gone.

  19. tommy-hansen commented on Sep 21, 2020

    @tommy-hansen

    Got the same error when trying to run in VMWare Fusion, the solution was a hypervisor CPU setting as described in the answer to this question.

    All good.

  20. Paranoid-Dev commented on Sep 25, 2020

    @Paranoid-Dev

    I'm on 2004 OS build 20201.1000.

    wsl.exe --update didn't work for me. Only works if I use wsl 1.

    I'm on 20201 now, and the wsl.exe update worked!
    Maybe it's fixed now for 20201 at least?

  21. zhaolei-momo commented on Sep 25, 2020

    @zhaolei-momo

    Now I can only update from 2004 to 20150,
    I donot know how can I update to 20201.

  22. tigerblue77 commented on Sep 25, 2020

    @tigerblue77

    Hello,

    So I installed build 20221 (should have fixed this problem accordingly to Windows insiders's blog) but it was not working. Here is what I did :

    1. Uninstalled my distro (debian)
    2. Uninstalled WSL functionnality
    3. Restarted my PC
    4. Reinstalled WSL
    5. Reinstalled Debian (didn't worked) so I followed this : https://docs.microsoft.com/en-us/windows/wsl/install-win10
    6. After step 4 my problem seems fixed because debian asked me an username for the new user to create
      But when I enter an username : "Remote procedure call failure" (translated error message)
  23. Paranoid-Dev commented on Sep 25, 2020

    @Paranoid-Dev

    Now I can only update from 2004 to 20150,
    I donot know how can I update to 20201.

    https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewadvanced

    Here, the ISO is build 20201 last time I checked (if you upgrade by the update center, you can get newer releases)
    If you upgrade by ISO, instead of the usual method of using the update center, you can install without giving Windows (and MS) your MS account, so less telemetry this way

  24. tigerblue77 commented on Oct 3, 2020

    @tigerblue77

    Build 20226.1000 : I can confirm that this problem has been fixed now ! It works perfectly again 👍

  25. MKhoshnevis commented on Dec 11, 2020

    @MKhoshnevis

    I had the same issue with wsl , tring to install opensuse to install netdata on windows machine .
    to resolve ,
    1 -remove the WSl and Virtual machine platform options form windows apps and feature
    2- reboot machine
    3- go regedit > HKEY_LOCAL_MACHINE/SYSTEM/CURRENT CONTROL SET/SERVICES
    here you may see multiple LSXXMANAGER service listed
    4 - REMOVE LSXXMANAGER , starting from the last on elisted ( if you can't remove some, just change the Start key tp 1 , and start LSXXMANAGER from the Services.msc )
    5 - reboot
    6 - Install back WSL and Virtual Machine Platform options in Apps and Features
    7 - get opensuse 15.1 from microsoft store .

    this worked for me .

  26. hekailiang commented on Jan 14, 2021

    @hekailiang

    Running this command solved it for me, insider preview 2004

    wsl.exe --update

    worked for me, but need to run PowerShell as administrator first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions