-
Notifications
You must be signed in to change notification settings - Fork 840
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
Windows Insider Preview update causes WSL to fail to run and prevents reinstallation [Version 10.0.26100.1] #11495
Comments
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! Open similar issues:
Closed similar issues:
Diagnostic information
|
@pmartincic: Looks like this user is hitting the MSIX install issue. This would be a good test for the installer fixes you're working on.
|
1、按win+R键打开运行,输入【gpedit.msc】,打开【本地组策略编辑器】 如果不行,尝试增加以下操作后再次运行第三步: |
新版的win11中似乎无法找到和打开策略组,我利用以下得到修复。
此时就已经完成新版本的安装。 一个可能潜在的问题是(不确定是否是由于上述直接引起),之后以 |
同样尝试前两步成功安装,感谢大佬 |
感谢大佬 |
如果你的系统是家庭版,没有“本地安全策略”,可以尝试保存以下代码为 pushd "%~dp0"
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i" |
Windows Version
Microsoft Windows [Version 10.0.26100.1]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
wsl --uninstall
dism /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /Remove
dism /online /disable-feature /featurename:VirtualMachinePlatform /Remove
restart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
restart
wsl --install
Expected Behavior
I originally had a normally functioning WSL environment with Ubuntu as the operating system. However, after I upgraded to the latest Windows Insider Preview (I have been on this channel for a while without any issues), WSL failed to start, indicating that I needed to reinstall it (providing an MSI file for WSL2). But the installation encountered an error (even when the required MSI file was provided). So, I used the command wsl --uninstall to remove the WSL component, disabled the Linux subsystem feature, and restarted. After re-enabling the Linux subsystem and virtual machine feature components, and another restart, the installation using the command wsl --install failed again. The issue is reproducible. The logs from the reproduction process are in the attachment.
Actual Behavior
PS C:\WINDOWS\system32> wsl --install
Downloading: Windows Subsystem for Linux 2.1.5
Installing: Windows Subsystem for Linux 2.1.5
Catastrophic failure
PS C:\WINDOWS\system32>
====="Original Output: Chinese Version"=====
PS C:\WINDOWS\system32> wsl --install
正在下载: 适用于 Linux 的 Windows 子系统 2.1.5
正在安装: 适用于 Linux 的 Windows 子系统 2.1.5
灾难性故障
PS C:\WINDOWS\system32>
Diagnostic Logs
WslLogs-2024-04-22_20-30-54.zip
The text was updated successfully, but these errors were encountered: