Windows Version
10.0.19045.5371
WSL Version
wsl.exe --version doesn't work. CMD says me "Usage: wsl.exe [Argument]..."
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Ubuntu 24.01.1 (please look at Step 6, Repro Steps)
Other Software
No response
Repro Steps
Developer options is enable. I ran Powershell as an Administrator. I ran CMD as an Administrator. I am using Windows Home Single Language. I tried dism /online /cleanup-image /restorehealth and sfc /scannow. They don't work and I tried chkdsk c: /f then they worked.
1. Install WSL via PowerShell: wsl --install
2. Enabling WSL feature via GUI.
3. Enabling WSL feature via Command Prompt: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
4. Enabling Virtual Machine Platform feature via GUI.
5. Enabling Virtual Machine Platform feature via Command Prompt: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
6. I installed Ubuntu 24.04.1 with Microsoft Store but I can't run it.
Expected Behavior
1. I would wait for the WSL to be installed.
2. Selecting Windows Subsystem for Linux in Windows features settings and enable it.
3. (This is not mine PS I found it from Internet.)

4. Selecting Virtual Machine Platform in Windows features settings and enable it.
5. (This is not mine PS I found it from Internet.)

6. I expected to run it.
Actual Behavior
1.
PS C:\Windows\system32> wsl --install
Error: 0x800f080c
2.
WSL doesn't appear on "Turn Windows Features on or off" setting.

3.
C:\Windows\system32>dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Deployment Image Servicing and Management tool
Version: 10.0.19041.3636
Image Version: 10.0.19045.5371
Error: 0x800f080c
Feature name Microsoft-Windows-Subsystem-Linux is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
4. Setting doesn't appear.

5.

6.

"Linux için Windows Alt Sistemi etkinleştirilmedi." means "The Windows Subsystem for Linux has not been enabled. "
Diagnostic Logs
For ease of review, I deleted the old log and tried the steps again. These are new logs:
dism.log after run Step 3:
dism.log
dism.log after run Step 5:
dism.log
Old log:
dism1.log
Powershell error about WSL logs:
PS C:\Windows\system32> Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force
PS C:\Windows\system32> .\collect-wsl-logs.ps1
Get-WindowsOptionalFeature : Get-WindowsOptionalFeature failed. Error code = 0x800f0819
At C:\Windows\system32\collect-wsl-logs.ps1:57 char:1
- Get-WindowsOptionalFeature -Online > $folder/optional-components.txt
-
+ CategoryInfo : NotSpecified: (:) [Get-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetWindowsOptionalFeatureCommand
Log collection is running. Please reproduce the problem and once done press any key to save the logs.
Saving logs...
Logs saved in: C:\Windows\system32\WslLogs-2025-01-29_13-16-03.zip. Please attach that file to the GitHub issue.
WSL logs:
WslLogs-2025-01-29_13-16-03.zip
Bot says this log is wrong. I tried it again and PS created a new file:
collect-wsl-logs.zip
Windows Version
10.0.19045.5371
WSL Version
wsl.exe --version doesn't work. CMD says me "Usage: wsl.exe [Argument]..."
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Ubuntu 24.01.1 (please look at Step 6, Repro Steps)
Other Software
No response
Repro Steps
Developer options is enable. I ran Powershell as an Administrator. I ran CMD as an Administrator. I am using Windows Home Single Language. I tried
dism /online /cleanup-image /restorehealthandsfc /scannow. They don't work and I triedchkdsk c: /fthen they worked.1. Install WSL via PowerShell: wsl --install
2. Enabling WSL feature via GUI.
3. Enabling WSL feature via Command Prompt: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
4. Enabling Virtual Machine Platform feature via GUI.
5. Enabling Virtual Machine Platform feature via Command Prompt: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
6. I installed Ubuntu 24.04.1 with Microsoft Store but I can't run it.
Expected Behavior
1. I would wait for the WSL to be installed.


2. Selecting Windows Subsystem for Linux in Windows features settings and enable it.
3. (This is not mine PS I found it from Internet.)
4. Selecting Virtual Machine Platform in Windows features settings and enable it.
5. (This is not mine PS I found it from Internet.)
6. I expected to run it.
Actual Behavior
1.
2.

WSL doesn't appear on "Turn Windows Features on or off" setting.
3.
4. Setting doesn't appear.

5.
6.
"Linux için Windows Alt Sistemi etkinleştirilmedi." means "The Windows Subsystem for Linux has not been enabled. "
Diagnostic Logs
For ease of review, I deleted the old log and tried the steps again. These are new logs:
dism.log after run Step 3:
dism.log
dism.log after run Step 5:
dism.log
Old log:
dism1.log
Powershell error about WSL logs:
PS C:\Windows\system32> Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force
PS C:\Windows\system32> .\collect-wsl-logs.ps1
Get-WindowsOptionalFeature : Get-WindowsOptionalFeature failed. Error code = 0x800f0819
At C:\Windows\system32\collect-wsl-logs.ps1:57 char:1
Log collection is running. Please reproduce the problem and once done press any key to save the logs.
Saving logs...
Logs saved in: C:\Windows\system32\WslLogs-2025-01-29_13-16-03.zip. Please attach that file to the GitHub issue.
WSL logs:
WslLogs-2025-01-29_13-16-03.zip
Bot says this log is wrong. I tried it again and PS created a new file:
collect-wsl-logs.zip