Windows 10: Unable to install WSL despite enabling it

Discus and support Unable to install WSL despite enabling it in Windows 10 Gaming to solve the problem; I enabled the virtual machine and WSL via admin powershelll yet I am still unable to install wsl. already uninstall wsl and reinstalled it, does not... Discussion in 'Windows 10 Gaming' started by Windows Category - All, May 8, 2024.

  1. Unable to install WSL despite enabling it


    I enabled the virtual machine and WSL via admin powershelll yet I am still unable to install wsl. already uninstall wsl and reinstalled it, does not work.

    :)
     
    Windows Category - All, May 8, 2024
    #1

  2. WSL is blocked by SAC ?

    Hello,

    I'm reaching out to the community for assistance with a persistent WSL issue. Upon attempting to launch WSL, I'm encountering the following error:

    WslLaunchInteractive failed with error: 0x800711e6 - System Integrity policy has been violated. Explicit denied file.

    Steps Taken:

    1. I have reset the Ubuntu Linux distribution.
    2. I have uninstalled and reinstalled WSL.
    Despite these efforts, the issue persists. I am running Windows 11 build no: 22631.2715 with WSL 2.0.9.0, and the error occurs every time I try to start WSL.

    Has anyone faced a similar issue? Specifically, I'm seeking guidance on navigating the System Integrity policy that's seemingly causing the block. Any insights into how Smart App Control impacts WSL's functionality and possible configurations to mitigate this would be greatly appreciated.

    Thank you in advance for your time and help.
     
    shreesh gupta, May 8, 2024
    #2
  3. wsl installation nightmare

    Hey guys,

    Haven't been able to install wsl on windows. Here's a summary of my pain:

    PS C:\Users\[me]> wsl -d Ubuntu-22.04

    There is no distribution with the supplied name. Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND

    PS C:\Users\[me]> wsl --install -d Ubuntu-22.04

    Ubuntu 22.04 LTS is already installed.

    Launching Ubuntu 22.04 LTS...

    The operation completed successfully.

    PS C:\Users\[me]> wsl -l -v

    Windows Subsystem for Linux has no installed distributions.

    Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.

    Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore

    Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

    Whenever it does "successfully" launch, it just flashes a terminal on the screen for half a second and immediately closes. Then some background process called WSL lives on in the task manager, though it uses no resources.

    The only way I could download it originally was through the command

    wsl --install -d Ubuntu-22.04 --web-download

    Trying to install through windows store or the above command without web-download just timed out.

    This is a new Win11 pc, fully updated. I have restarted it multiple times and re-enabled the optional features for vm / wsl / hypervisor.

    I also can't seem to download anything from the windows store. I thought this may be a firewall issue, but it has permissions in the firewall settings and disabling the firewall seems to have no impact.

    If I remove both installations (WSL & Ubuntu 22.04), I can try this:

    PS C:\Users\tyler> wsl --install -d Ubuntu-22.04

    Installing: Ubuntu 22.04 LTS
    An error occurred during installation. Distribution Name: 'Ubuntu 22.04 LTS' Error Code: 0x80072ee2

    Happens regardless of DNS status to 8.8.8.8 (google) or firewall enabled/disabled (fixes recommended elsewhere).
     
    Tyler Nuanes, May 8, 2024
    #3
  4. Unable to install WSL despite enabling it

    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, May 8, 2024
    #4
Thema:

Unable to install WSL despite enabling it

Loading...
  1. Unable to install WSL despite enabling it - Similar Threads - Unable install WSL

  2. WSL not installing

    in Windows 10 Gaming
    WSL not installing: I have been trying to install wsl withwsl --installbut it just doesn't work.Now it outputs:wsl --install Installing Windows optional component: VirtualMachinePlatform Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22621.2215 Error:...
  3. WSL not installing

    in Windows 10 Software and Apps
    WSL not installing: I have been trying to install wsl withwsl --installbut it just doesn't work.Now it outputs:wsl --install Installing Windows optional component: VirtualMachinePlatform Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.22621.2215 Error:...
  4. Unable to install WSL despite enabling it

    in Windows 10 Software and Apps
    Unable to install WSL despite enabling it: I enabled the virtual machine and WSL via admin powershelll yet I am still unable to install wsl. already uninstall wsl and reinstalled it, does not work....
  5. Unable to install WSL despite enabling it

    in Windows 10 BSOD Crashes and Debugging
    Unable to install WSL despite enabling it: I enabled the virtual machine and WSL via admin powershelll yet I am still unable to install wsl. already uninstall wsl and reinstalled it, does not work....
  6. Unable to install WSL

    in Windows 10 Gaming
    Unable to install WSL: I keep getting this error - "Failed to translate D: ...." Although I do not have any D Drive in my pc. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-install-wsl/c60525ca-ec33-4f73-acb9-37a6d5112df3
  7. Unable to install WSL

    in Windows 10 Software and Apps
    Unable to install WSL: I keep getting this error - "Failed to translate D: ...." Although I do not have any D Drive in my pc. https://answers.microsoft.com/en-us/windows/forum/all/unable-to-install-wsl/c60525ca-ec33-4f73-acb9-37a6d5112df3
  8. Unable to Uninstall WSL

    in Windows 10 Gaming
    Unable to Uninstall WSL: Hey,I decided that its was time to uninstall WSL due to it causing issues with another Application, so I uninstalled Ubuntu, uninstalled a WSL Update and WSLg Preview, but when I tried to uninstall WSL from Programs and Features, it rebooted, and then Windows 11 did not start...
  9. Unable to Uninstall WSL

    in Windows 10 Software and Apps
    Unable to Uninstall WSL: Hey,I decided that its was time to uninstall WSL due to it causing issues with another Application, so I uninstalled Ubuntu, uninstalled a WSL Update and WSLg Preview, but when I tried to uninstall WSL from Programs and Features, it rebooted, and then Windows 11 did not start...
  10. Unable to enable WSL

    in Windows 10 Installation and Upgrade
    Unable to enable WSL: Hi, I'm trying to enable WSL on my Laptop using following documentation: https://docs.microsoft.com/en-us/windows/wsl/install-win10 when I enter the command cmd admin mode: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart...