Windows 10: Trouble Installing WSL

Discus and support Trouble Installing WSL in Windows 10 Software and Apps to solve the problem; I'm trying to install WSL on Windows 10 via command line. This is the error I get:C:\Windows\system32>wsl --installInstalling: Windows Subsystem for... Discussion in 'Windows 10 Software and Apps' started by Cheshie, Jan 21, 2024.

  1. Cheshie Win User

    Trouble Installing WSL


    I'm trying to install WSL on Windows 10 via command line. This is the error I get:C:\Windows\system32>wsl --installInstalling: Windows Subsystem for LinuxCannot create a file when that file already exists.== ]I'm sure it has something to do with the fact that I recently installed Windows and copy/pasted files from my backup without re-installing WSL first. So there must be some folder or file somewhere that needs to be removed but I have no idea how to locate it. I tried unregistering it but it doesn't fix the issue. I've seen a few other people on various forums with similar issues bu

    :)
     
    Cheshie, Jan 21, 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, Jan 21, 2024
    #2
  3. zebal Win User
    Install WSL issue

    thanks, I've tried all of it including troubleshooting section. The only step I didn't try is installing kernel update package which fails because subsystem is up to date. Anyway I've given up from WSL and using Hyper-V, I don't need linux often maybe once in a month just to test some stuff so it's not a big issue.
     
    zebal, Jan 21, 2024
    #3
  4. Trouble Installing WSL

    Error code: Wsl/ERROR_NOT_FOUND

    If you (like me) have this problem and find this thread, a short summary (not a Tutorial) so far ( as of 24.11.2023 ).

    Please read the whole comment before trying any of it!

    • Github Link to the problem is: Wsl/ERROR_NOT_FOUND after installing Windows updates · Issue #10782 · microsoft/WSL
    • Workaround:
      • Start WSL from an Elevated Terminal
      • So in "normal" language: Start your CMD/terminal with Admin Privileges then run the "WSL" command in this Terminal
    • Manual Fix:
      • Type "regedit" in the Windows search and start Windows Registry Editor
      • Search and delete:
      • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\ClassIndex\{A9B7A1B9-0671-405C-95F1-E0612CB4CE7E}
    • Official Fix:
     
    Julian Oberhofer, Jan 21, 2024
    #4
Thema:

Trouble Installing WSL

Loading...
  1. Trouble Installing WSL - Similar Threads - Trouble Installing WSL

  2. Trouble with installing WSL

    in Windows 10 Gaming
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  3. Trouble with installing WSL

    in Windows 10 Software and Apps
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  4. Trouble with installing WSL

    in Windows 10 Gaming
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  5. Trouble with installing WSL

    in Windows 10 Software and Apps
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  6. Trouble with WSL powershell

    in Windows 10 Gaming
    Trouble with WSL powershell: Whenever i enter: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all/norestart it gives me: cmdlet enalbe-WindowsOptionalFeature at commands pipeline position 1 supply values for the following parameters: FeatureName[0]...
  7. Trouble with installing WSL

    in Windows 10 Gaming
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  8. Trouble with installing WSL

    in Windows 10 Software and Apps
    Trouble with installing WSL: Hello! When I try to install WSL Windows Subsystem for Linux on my laptop, everything goes smoothly until I have to restart the laptop. Initially, the update progresses well, reaching approximately 97%. However, at that point, an error message appears: ‘Something unexpected...
  9. Trouble Installing WSL

    in Windows 10 Gaming
    Trouble Installing WSL: I'm trying to install WSL on Windows 10 via command line. This is the error I get:C:\Windows\system32>wsl --installInstalling: Windows Subsystem for LinuxCannot create a file when that file already exists.== ]I'm sure it has something to do with the fact that I recently...
  10. Trouble Installing WSL

    in Windows 10 Drivers and Hardware
    Trouble Installing WSL: I'm trying to install WSL on Windows 10 via command line. This is the error I get:C:\Windows\system32>wsl --installInstalling: Windows Subsystem for LinuxCannot create a file when that file already exists.== ]I'm sure it has something to do with the fact that I recently...