-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails with 0x800f080c and I can't enable requried Windows features. #12516
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running. Diagnostic information
|
Failed to parse logs. Unexpected file: collect-wsl-logs.ps1 Diagnostic information
|
I closed it by mistake. |
Thank you for reporting this @DomatesGames. I don't see anything in the logs, could you run the log collection while you get the |
Powershell does not respond to the command. collect-wsl-logs.ps1 file is created in System32. |
Failed to parse logs. Unexpected file: collect-wsl-logs.ps1 Diagnostic information
|
Unfortunately not. Do these instructions work /logs ? |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue. Thank you! |
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
andsfc /scannow
. They don't work and I triedchkdsk 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.
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
The text was updated successfully, but these errors were encountered: