Windows 10: Cannot upgrade installed distros in WSL to version 2

Discus and support Cannot upgrade installed distros in WSL to version 2 in Windows 10 Software and Apps to solve the problem; After installing the Win10 2004 build 19041 update (running winver shows "version 2004 (OS build 19041.388)", I've tried to upgrade a couple of... Discussion in 'Windows 10 Software and Apps' started by NickJP, Jul 16, 2020.

  1. NickJP Win User

    Cannot upgrade installed distros in WSL to version 2


    After installing the Win10 2004 build 19041 update (running winver shows "version 2004 (OS build 19041.388)", I've tried to upgrade a couple of installed distros I had in WSL version 1 to WSL version 2 following the instructions at https://docs.microsoft.com/en-us/win.../install-win10. All the steps in the instructions compete successfully, up to the point where I try to change the WSL version of one of the installed distros to 2 at which point I see the messages below:

    Code:
    I have enabled the Virtual Machine Platform feature (it shows as on with a tick against it in Control Panel Windows features), Intel-vt virtualization is enabled in the BIOS, and running msinfo32 shows, at the bottom of the system summary listing:

    Code:
    I also tried installing another distro with the WSL default version set to 2, but attempting to launch it shows the error:

    Code:
    Any suggestions on how to get around this problem? From what I've read, WSL2 gives worthwhile speed increases over WSL1, and so is worth using if I can get it to work.

    :)
     
    NickJP, Jul 16, 2020
    #1

  2. Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?

    # Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2

    I am currently on the `Windows 10 Pro Insider Preview build 18922.rs_prerelease`, and am trying to install a Linux distribution to access via Windows Subsystem for Linux (2). I have tried this for both the Ubuntu and Debian distros and have encountered the
    same error in each.

    I have successfully downloaded both distros from the Microsoft store, but when I try to first "run" the Ubuntu or Debian "app" the respective console comes up and prints the following text:

    Code:
    Installing, this may take a few minutes...
    
    WslRegisterDistribution failed with error: 0x80370102
    
    Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
    
    Press any key to continue...
    Pressing a key at this point automatically exits the console.
    ---

    ## Additional information:

    - Using the `wsl -l` command shows no installed distros.

    - I do have Hypervisor installed and running `bcdedit` does show that `hypervisorlaunchtype` is set to `Auto` in the `Windows Boot Loader` section.

    - I did previously have Ubuntu installed and working under WSL 1 before switching to the Windows Insider Program Fast Ring and gaining access to WSL 2, but I was encountering another issue when trying to have it use WSL 2. After
    trying to use the command `wsl --set-version Ubuntu 2` I was met with a request to "Enable the Virtual Machine Platform". I had already run `Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform` prior, according to the official microsoft
    tutorial here Install Windows Subsystem for Linux (WSL) on Windows 10, but for good measure I did it again and got the same error, and Ubuntu was still on version 1 (I haven't explicitly mentioned it but I was restarting/shutting down when requested/suggested
    by windows and tutorials, so I don't believe me not restarting is a cause). In hopes to find a workaround, I ended up uninstalling Ubuntu and hoping I could reinstall it and have it obey the default defined by the `wsl --set-default-version 2` command (suffice
    it to say, this did not go as I'd hoped).

    - This might be an unrelated issue, but when I initially attempted reinstalling Ubuntu, the Microsoft store had a bit of a fit and could not complete the download- encountering an 'unknown error'. I did a restart, tried again, and
    got the same error, but then after telling it to 'try again' it succeeded. I had no such issues installing Debian from the store.

    ---

    ## Suggestions Welcome

    I've searched for a bit and can't find mention of this error code in particular anywhere else.

    In addition, is there anywhere I can look up/access these error codes in any sort of documentation? Ideally so I can make a better informed work-around attempt before bothering you all on here.

    All help is appreciated!
     
    SamuelLudwig, Jul 16, 2020
    #2
  3. Alternatives to using Windows Store to install Linux distro on WSL

    I just wanted to ask what alternatives there are to using the Windows 10 to install Linux distros on WSL.

    Also, it seems like Ubuntu 19 isn't available for the WSL. Is there a chance that we'll be able to install it when WSL2 is released? And I'd like to get the latest non-LTS version if possible (though it's alright if it's not possible too).
     
    OsmanZakir, Jul 16, 2020
    #3
  4. Brink Win User

    Cannot upgrade installed distros in WSL to version 2

    GPU Compute, WSL Install and WSL Update arrive in WSL

    Source:

     
    Brink, Jul 16, 2020
    #4
Thema:

Cannot upgrade installed distros in WSL to version 2

Loading...
  1. Cannot upgrade installed distros in WSL to version 2 - Similar Threads - Cannot upgrade installed

  2. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Gaming
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with...
  3. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with...
  4. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Installation and Upgrade
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with...
  5. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Gaming
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  6. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  7. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Installation and Upgrade
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  8. WSL 2 distro installation failure

    in Windows 10 Ask Insider
    WSL 2 distro installation failure: Installation of WSL 2 distros fails with error Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Error: 0x80370102 The virtual machine could not be started because a required feature is not installed. I also cannot run Hyper-V...
  9. WSL distros disappear after drive upgrade

    in Windows 10 Ask Insider
    WSL distros disappear after drive upgrade: Just as a note, it is most likely I did something very stupid here. Please point out what I did wrong! So strange thing today, I upgraded my nvme drive today. Went from 500GB to 1TB, but now my WSL distros are missing. what I did: use DD to clone one drive to other dd...
  10. Cannot install WSL 2

    in Windows 10 Installation and Upgrade
    Cannot install WSL 2: I'm running build 18945.1001. I installed Windows Subsystem for Linux from the store as per https://docs.microsoft.com/en-us/windows/wsl/install-win10. I can go to the store, click Debian, click Launch and get a Bash terminal. I rebooted, ran Enable-WindowsOptionalFeature...

Users found this page by searching for:

  1. win10 wsl2 19041.388