Open CTOUT opened 1 month ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please 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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Logs sent to wsl-gh-logs@microsoft.com.
Exactly the same as yours.
I have the same issue.
I had the same error, try this, it worked for me:
Reinstall Windows Update: "System > Recovery > Fix problems with Windows Update", and click on "Reinstall now" (translated from Spanish, I don't know if it has the same name in other languages). Note: The error may change to 0x800f081f if you try to install it. This is a good sign.
Let Windows elves do their job: dism /online /cleanup-image /StartComponentCleanup dism /online /cleanup-image /CheckHealth dism /online /cleanup-image /ScanHealth dism /online /cleanup-image /RestoreHealth
The other one: sfc /scannow
Restart the computer (if you want, but it's better to do it).
Stop, disable, block, or if you can't, uninstall any security program: Antivirus, antispyware, firewall, and any other similar program.
Try again now. If it fails, restart the computer and try again.
Let's hope for the best.
Update windows with the latest iso image.
Update windows with the latest iso image.
Hi @mohkgh
I am currently running build 26100.2161, and I have tried using a Windows ISO as the source for installation. Do you mean you were able to fix this by running an in-place upgrade from a more recent Windows ISO?
I had the same error, try this, it worked for me:
- Reinstall Windows Update: "System > Recovery > Fix problems with Windows Update", and click on "Reinstall now" (translated from Spanish, I don't know if it has the same name in other languages). Note: The error may change to 0x800f081f if you try to install it. This is a good sign.
- Let Windows elves do their job: dism /online /cleanup-image /StartComponentCleanup dism /online /cleanup-image /CheckHealth dism /online /cleanup-image /ScanHealth dism /online /cleanup-image /RestoreHealth
- The other one: sfc /scannow
- Restart the computer (if you want, but it's better to do it).
- Stop, disable, block, or if you can't, uninstall any security program: Antivirus, antispyware, firewall, and any other similar program.
- Try again now. If it fails, restart the computer and try again.
Let's hope for the best.
Thanks @GallardoGH - but not a very good experience if this is required! This install is very new, but I wonder if this issue with WSL occurred at some point in the 24H2 development cycle and cumulative updates alone do not resolve it.
I have the Same Issue, I have some Development work on the WSL, AAny Fixes. Using Windows 24H2 Dev Build 26120.2222
Update windows with the latest iso image.
Hi @mohkgh
I am currently running build 26100.2161, and I have tried using a Windows ISO as the source for installation. Do you mean you were able to fix this by running an in-place upgrade from a more recent Windows ISO? That worked for me. I just used the ios file downloaded form win11 website. I have another idea, boot your system form a virtual machine, uninstall all drivers, then upgrade it and install Virtual Machin Platform.
Some good news - I just don't know which of these may have resolved the issue. I updated to 26100.2448 (KB5046740) I updated WSL to 2.3.26, uninstalled WSL, and then ran: wsl --install -no-distribution
Installation appears successful. Tested installation of Ubuntu, and it's working.
For me the Issue is Fixed as I had to do in place upgrade of Windows.
Additional Tip:- Mount the ISO then run Setup.exe. Download ISO using Media Creation tool of Windows cause Firstly i directly downloaded the Normal Release of Windows but that didnt allow me to keep my app, so i thought since i am on insider Build i should get the Insider ISO, I got that ISO and Still i wasnt able to keep apps, so downloaded using Media Creation tool and the ISO was bit small in size and i was able to keep my data, settings all apps and upgrade the windows.
Below 2 videos could help otherwise: - ThioJoe Video Chris Titus
Windows Version
Microsoft Windows [Version 10.0.26100.2152]
WSL Version
2.3.24
Are you using WSL 1 or WSL 2?
Kernel Version
Not applicable at this stage
Distro Version
Not applicable at this stage
Other Software
Not applicable at this stage.
Repro Steps
Execute from administrative terminal: -
wsl --install
(either with or without a distribution)Expected Behavior
WSL installs, enables any relevant features, and optionally installs the default or chosen distribution.
Actual Behavior
WSL fails to install optional component VirtualMachinePlatform. WSL is installed but has limited functionality. Intermittently, the distribution will install but also not work due to missing features/roles.
Diagnostic Logs
Associated message on Community forums: - Unable to Enable Virtual Machine Platform Feature. Error Code: 0x8007371B
Install message
Hangs at 76% for a long time before finishing with this error message (repeatable)
wsl --install -no-distribution
Section from dism.log: -
I've tried installing the feature (VirtualMachinePlatform) via WSL, optional features, powershell, DISM - fails each way.
WSL --status output
wsl --status
CBS.log