-
Notifications
You must be signed in to change notification settings - Fork 852
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
WSL install fails with Failed to enable Windows component 'VirtualMachinePlatform' (exit code 14107) #12196
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:
|
Logs sent to [email protected]. |
Exactly the same as yours. |
I have the same issue. |
I had the same error, try this, it worked for me:
Let's hope for the best. |
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. |
Thanks @GallardoGH - but not a very good experience if this is required! |
I have the Same Issue, I have some Development work on the WSL, AAny Fixes. |
|
Some good news - I just don't know which of these may have resolved the issue. 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:- Below 2 videos could help otherwise: - |
I confirm that the installation (KB5046740) helped. No need to reinstall Windows |
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
The text was updated successfully, but these errors were encountered: