Windows 10: WSL Not Working

Discus and support WSL Not Working in Windows 10 Software and Apps to solve the problem; Hello,My WSL is not working on my laptop. It crashes immediately after running the Ubuntu app and trying to launch it in the command and PowerShell... Discussion in 'Windows 10 Software and Apps' started by AnthonyOlguin, Jun 2, 2022.

  1. WSL Not Working


    Hello,My WSL is not working on my laptop. It crashes immediately after running the Ubuntu app and trying to launch it in the command and PowerShell prompts. I have turned off the hypervisor feature and turned it back on. I have done the same for the virtual environment feature and the WSL features as well. The issue that PowerShell tells me is the app cannot mount the hard drive/file. I have looked at all of the github answers and none of the their solutions help. If anyone has any other possible solutions that would be very helpful.

    :)
     
    AnthonyOlguin, Jun 2, 2022
    #1

  2. WSL

    Version 2 of WSL uses a new lightweight utility virtual machine capability. To enable the lightweight virtual machine and WSL, you need to enable two Windows features: Virtual Machine Platform and Windows Subsystem for Linux.

    To enable these features via the user interface (UI), press the Windows key and enter Windows Features, then click on Turn Windows features on or off.
    When the Windows Features dialog appears, check the boxes for Virtual Machine Platform and Windows Subsystem for Linux.




    If you want to make version 2 the default for any Linux distros you install then run the following command:


    Code:
    Now you can install Linux distro from Microsoft Store it will be running version 2 of WSL.

    A distro can be converted between versions of WSL after installation. To achieve this, you use the wsl --set-version command.

    This command takes two arguments:

    • The name of the distro to update
    • The version to convert it to

    An example of converting the Ubuntu distro to version 2 is shown here:

    Code:
    Execute wsl --list --verbose versions of WSL installed distro.
     
    FreeBooter, Jun 2, 2022
    #2
  3. WSL in windows Store

    Actually, this is a consumer-oriented forum for general Windows 10 questions.

    As WSL concerns mostly developers and Enterprise, I suggest asking there.
     
    Sumit Dhiman2, Jun 2, 2022
    #3
  4. WSL Not Working

    WSL 2

    I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling
    etc etc lags...Please suggest me something to fix that so that i could use the new virtualization feature.
     
    Legend Hunter 3, Jun 2, 2022
    #4
Thema:

WSL Not Working

Loading...
  1. WSL Not Working - Similar Threads - WSL Working

  2. WSL suddenly stopped working and can no longer start up

    in Windows 10 Gaming
    WSL suddenly stopped working and can no longer start up: WSL suddenly stopped working and can no longer start up > wsl.exeThe service cannot be started, either because it is disabled or because it has no enabled devices associated with it.Error code: Wsl/0x80070422I was using Fedora, which had been working fine until then......
  3. WSL suddenly stopped working and can no longer start up

    in Windows 10 Software and Apps
    WSL suddenly stopped working and can no longer start up: WSL suddenly stopped working and can no longer start up > wsl.exeThe service cannot be started, either because it is disabled or because it has no enabled devices associated with it.Error code: Wsl/0x80070422I was using Fedora, which had been working fine until then......
  4. Unable to get WSL 2 working with Docker for ARM on a brand new Surface 11 ARM machine

    in Windows 10 Gaming
    Unable to get WSL 2 working with Docker for ARM on a brand new Surface 11 ARM machine: Just got two brand new top-of-the-line Surface Pro 11s last week, which of course use an ARM processor. My ultimate goal is to run SQL Server 2022 in Linux containers on Docker for ARM, using WSL 2 and QEMU for x86 emulation on ARM inside a container. But I have been...
  5. Unable to get WSL 2 working with Docker for ARM on a brand new Surface 11 ARM machine

    in Windows 10 Software and Apps
    Unable to get WSL 2 working with Docker for ARM on a brand new Surface 11 ARM machine: Just got two brand new top-of-the-line Surface Pro 11s last week, which of course use an ARM processor. My ultimate goal is to run SQL Server 2022 in Linux containers on Docker for ARM, using WSL 2 and QEMU for x86 emulation on ARM inside a container. But I have been...
  6. WSL completely not working

    in Windows 10 Gaming
    WSL completely not working: I posted this on reddit and didn't get a response so I'm posting this here.So, yesterday I tried to download the Ubuntu app for Windows. When the app is run it tries to install the Ubuntu distro for WSL. But, when it tries to, command prompt shows this:Installing, this may...
  7. WSL completely not working

    in Windows 10 Software and Apps
    WSL completely not working: I posted this on reddit and didn't get a response so I'm posting this here.So, yesterday I tried to download the Ubuntu app for Windows. When the app is run it tries to install the Ubuntu distro for WSL. But, when it tries to, command prompt shows this:Installing, this may...
  8. Cannot get WSL to work in Windows 11

    in Windows 10 Gaming
    Cannot get WSL to work in Windows 11: I am not certain under what topic I should report this, however, I can't not get any Linux distros to work. At one point WSL was working great. I had Kali Linux and Ubuntu running smoothly and then at some point, I'm not sure when because there went a few months where I just...
  9. Cannot get WSL to work in Windows 11

    in Windows 10 Software and Apps
    Cannot get WSL to work in Windows 11: I am not certain under what topic I should report this, however, I can't not get any Linux distros to work. At one point WSL was working great. I had Kali Linux and Ubuntu running smoothly and then at some point, I'm not sure when because there went a few months where I just...
  10. when i try to turn on windows sandbox it says it cant find file and WSL doesnt work

    in Windows 10 Software and Apps
    when i try to turn on windows sandbox it says it cant find file and WSL doesnt work: Dear Microsoft Support Team, I trust this email finds you well. My name is Cayman, and I am reaching out to seek assistance regarding a specific issue I am encountering with Windows Sandbox on my Windows 10 system. Describe the Issue:I am consistently facing an issue where...