Hi nothing,
Has your issue been resolved yet? If it has, please consider accepting the answer as it helps others sharing the same problem benefit too. Thank you :)
Domic V.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
when i try to activate "Windows Subsystem for Linux" and "Virtual machine platform" feature and restart, it gives me a "we couldn't complete the features, undoing chances" and boots back normal with the features disabled. my system environment is Windows 11, Virtualization is enabled, core isolation is disabled. i dont want to break the laptop because it is not my primary machine.
Hi nothing,
To fix the rollback loop when enabling WSL and the Virtual Machine Platform, first repair your system image by running sfc /scannow and dism /online /cleanup-image /restorehealth in an administrative terminal. Next, ensure your boot manager allows the hypervisor to run by executing bcdedit /set hypervisorlaunchtype auto. Finally, bypass the Windows Features graphical interface entirely by installing both features directly via the command line using the dism.exe /online /enable-feature command with the /norestart flag, and manually reboot your computer to apply the changes smoothly.
Domic V.
AI answer
Use the manual/PowerShell path and verify all WSL2 prerequisites, since the GUI feature toggle is rolling back.
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
bcdedit /enum | findstr -i hypervisorlaunchtype
hypervisorlaunchtype Off, enable it:
bcdedit /set hypervisorlaunchtype Auto
If the feature installation still reverts after using DISM and meeting all prerequisites, the next step is to follow the broader WSL troubleshooting guidance and, if necessary, consider repair options for Windows before attempting again.
References: