Windows 10: Windows Subsystem for Linux cannot run with error code:0x80370102

Discus and support Windows Subsystem for Linux cannot run with error code:0x80370102 in Windows 10 Software and Apps to solve the problem; When I download Linux subsystem like Ubuntu,I cannot install it successfully.Error code:0x80370102.Follow the Microsoft support document ,I opened... Discussion in 'Windows 10 Software and Apps' started by Zhou James, Mar 29, 2022.

  1. Windows Subsystem for Linux cannot run with error code:0x80370102


    When I download Linux subsystem like Ubuntu,I cannot install it successfully.Error code:0x80370102.Follow the Microsoft support document ,I opened Virtual Machine Platform,hypervisorlaunchtype,Hyper-V ,Virtualization and WSL.But it seems that it is still there.I cannot update to 22H2,because my computer is Lenovo.So,I am running 21H2.Then,what shoule I do to solve it?

    :)
     
    Zhou James, Mar 29, 2022
    #1

  2. Windows Subsystem Linux

    Hello,

    We would like to know more about the issue you're experiencing with using
    Windows Subsystem for Linux
    . Kindly answer the following questions:

    • Are you developing a program, an app, or a software for Linux?
    • Is your Window 10 PC connected to a domain?
    • Are you managing a Windows Server PC?
    • What troubleshooting steps have you tried so far?
    • Can you tell us the Version and OS build of your Windows 10 device? You can find this information by clicking the
      Start button, type About your PC, and then press
      Enter.

    We need the following information in order to determine if we need to refer your concern to the
    TechNet forums or the Microsoft Developer Network (MSDN) forums.

    For now, we suggest reviewing these support articles to find out if there's an issue with the installation of
    Windows Subsystem for Linux:


    We'll be waiting for your response.
     
    Devlin Sco, Mar 29, 2022
    #2
  3. Nikhar_K Win User
    Unable to enable Windows Subsystem for Linux

    Hi,



    Thank you for writing to Microsoft Community Forums.



    I understand that you have downloaded Linux Terminal from Microsoft Store and you are getting an error when running the PowerShell command. However, as per the article

    Windows Subsystem for Linux Installation Guide for Windows 10
    you need to run the PowerShell command first and then install the required Linux distribution from the store. I suggest you to try running the PowerShell command
    first and check.



    For more information on Windows Subsystem for Linux, please refer the articles

    Windows Subsystem for Linux Documentation
    and

    Troubleshooting Windows Subsystem for Linux
    .



    If the issue persists, I suggest you to post your query in
    TechNet forums
    , where we have support professionals and experts on this query to assist you with the appropriate details.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Mar 29, 2022
    #3
  4. Windows Subsystem for Linux cannot run with error code:0x80370102

    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 WSL | Microsoft Docs, 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, Mar 29, 2022
    #4
Thema:

Windows Subsystem for Linux cannot run with error code:0x80370102

Loading...
  1. Windows Subsystem for Linux cannot run with error code:0x80370102 - Similar Threads - Subsystem Linux cannot

  2. Installing window subsystem for linux failed with this Error code:...

    in Windows 10 Gaming
    Installing window subsystem for linux failed with this Error code:...: I was going to install Ubuntu for linux where I had to first install wslwindow subsystem for linux and i'm getting this errorWSL is finishing an upgrade... Update failed exit code: 1601. Error code: Wsl/CallMsi/Install/0x80070641...
  3. Installing window subsystem for linux failed with this Error code:...

    in Windows 10 Software and Apps
    Installing window subsystem for linux failed with this Error code:...: I was going to install Ubuntu for linux where I had to first install wslwindow subsystem for linux and i'm getting this errorWSL is finishing an upgrade... Update failed exit code: 1601. Error code: Wsl/CallMsi/Install/0x80070641...
  4. cannot install Windows Subsystem for Linux

    in Windows 10 Gaming
    cannot install Windows Subsystem for Linux: I am using Windows 11 OS build 22631.3155 on a desktop PC. I was using Windows Subsystem for Linux WSL about two years without problem. I did a Windows Reset to remove malware and now WSL does not work. If I click on Start > Ubuntu the error message is...
  5. cannot install Windows Subsystem for Linux

    in Windows 10 Software and Apps
    cannot install Windows Subsystem for Linux: I am using Windows 11 OS build 22631.3155 on a desktop PC. I was using Windows Subsystem for Linux WSL about two years without problem. I did a Windows Reset to remove malware and now WSL does not work. If I click on Start > Ubuntu the error message is...
  6. Windows Subsystem for Linux cannot run with error code:0x80370102

    in Windows 10 Gaming
    Windows Subsystem for Linux cannot run with error code:0x80370102: When I download Linux subsystem like Ubuntu,I cannot install it successfully.Error code:0x80370102.Follow the Microsoft support document ,I opened Virtual Machine Platform,hypervisorlaunchtype,Hyper-V ,Virtualization and WSL.But it seems that it is still there.I cannot update...
  7. Run Linux Apps on Windows using Windows Subsystem for Linux

    in Windows 10 Gaming
    Run Linux Apps on Windows using Windows Subsystem for Linux: WSL or Windows Subsystem for Linux allows you to run GNU/Linux environment in Windows 10/11 directly without using a dual-boot configuration or a virtual machine.GIMP running on Windows 11 installation, courtesy of WSLgPrerequisites for WSLWSL1/WSL2 requires Windows 10 Build...
  8. Run Linux Apps on Windows using Windows Subsystem for Linux

    in Windows 10 Software and Apps
    Run Linux Apps on Windows using Windows Subsystem for Linux: WSL or Windows Subsystem for Linux allows you to run GNU/Linux environment in Windows 10/11 directly without using a dual-boot configuration or a virtual machine.GIMP running on Windows 11 installation, courtesy of WSLgPrerequisites for WSLWSL1/WSL2 requires Windows 10 Build...
  9. Troubleshoot Windows Subsystem for Linux Error Messages and Codes

    in Windows 10 News
    Troubleshoot Windows Subsystem for Linux Error Messages and Codes: [ATTACH]Like all software, the Windows Subsystem (WSL2) too has its fair shares of issues. In this guide, we are going to troubleshoot Windows Subsystem for Linux Error Messages and Codes. Fix Windows Subsystem for Linux Errors, Problems & Issues These are messages for which...
  10. Windows 10 linux subsystem: Run Linux desktop directly?

    in Windows 10 Support
    Windows 10 linux subsystem: Run Linux desktop directly?: I watched a video about the guy using Windows subsystem and run full Linux desktop without using remote software. There is no white thing on top. He can switch between Linux and Windows using a keyboard shortcut. Linux desktop is smooth, 60 fps, no lag so it means he don't...