WSL won't install after upgrading to 24H2


Beamrider

New member
Local time
10:23 AM
Posts
4
Location
Bethesda, MD, USA
OS
Windows 11, Windows 10, Linux Ubuntu
Help! I am running the current Dev Windows 11 build (version 24H2 OS Build 26100.1). Ever since I upgraded from 23H2 to 24H2 I've been unable to get WSL to work. When I run "wsl.exe" I get the following message:

Windows Subsystem for Linux must be updated to the latest version to proceed. You can update by running 'wsl.exe --update'.
For more information please visit https://aka.ms/wslinstall

Press any key to install Windows Subsystem for Linux.
Press CTRL-C or close this window to cancel.
This prompt will time out in 60 seconds.

When I run "wsl.exe --install" or "wsl.exe --update", I get this:

Downloading: Windows Subsystem for Linux 2.1.5
Installing: Windows Subsystem for Linux 2.1.5
Catastrophic failure

I've tried uninstalling the distro (Ubuntu), uninstalling WSL from the Windows features screen (from Programs and Features in Control Panel), making sure "New apps will save to" is set to C: drive (where "\Windows" is located) in Settings > System > Storage > Advanced storage settings > Where new content is saved ... and rebooted between each step during several attempts and nothing changes. Everything else on my system works fine, it's just WSL and this only started when I upgraded to 24H2. I can't get any more information that "Catastrophic failure" ("--verbose" adds nothing). I've even tried installing a Linux kernel manually and it tells me I already have a newer version of WSL installed. I have tried basically everything that is suggested by any Google result I can find and nothing works.
 
Windows Build/Version
Windows 11 version 24H2 OS Build 26100.1

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Ubuntu
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo IdeaPad Gaming 3 (Windows 10), HP ProBook (Windows 10)
This did not work. It fails with a Code: 0x80073D21 error. The link it shows goes to the Advanced storage settings > Where new content is saved page. I tried setting everything to C: and it still didn't work. I had changed it to D: at one point and I'm wondering if the setting doesn't work correctly when changing it back to C:
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Ubuntu
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo IdeaPad Gaming 3 (Windows 10), HP ProBook (Windows 10)
Hi, Beamrider, welcome to the ElevenForums 🙏

Try the new update and see if it’s any different.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
The MSI fails to install with this pop-up message:

Failed to install the MSIX package (error: The request is not supported.)
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Ubuntu
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo IdeaPad Gaming 3 (Windows 10), HP ProBook (Windows 10)
After unchecking "Windows Subsystem for Linux" in Programs and Features under Control Panel and rebooting.

Next, I moving all the WindowsApps that were installed in "D:\WndowsApps" back to "C:\Program Files\WindowsApps" with the "Move" option for each app under Apps > Installed apps in Settings.

I was able to then take ownership (change ownership to "Administrators" and then take "Full control" with my account) of all the directories (and their contents) that contained "Linux" or "Ubuntui" in their names.

I then delete them.

Afterwards, there was nothing installed under "D:\WindowsApps", so I changed the ownership of it to Administrators and then delete it entirely.

I rebooted after doing all this.

I then ran Windows Update and rebooted.

Then, I tried to reinstall WSL and it failed with the same "Catastrophic failure" message.

When I checked D: drive afterwards, Windows had recreated "D:\WindowsApps" and tried to install it there instead of on C: drive which is where "Where new content is saved" is pointing. Something is set somewhere (I presume in the Registry) telling Windows to try to install it on D: drive which, according to various Google results, will always fail as WSL must be installed on the same drive as C:\Windows.

Does anyone know what I need to update in the Registry to make Windows install WSL on C: drive?
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Ubuntu
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo IdeaPad Gaming 3 (Windows 10), HP ProBook (Windows 10)

Latest Support Threads

Back
Top Bottom