WSL: Error 0x1bc when setting wsl default version
Environment
Windows build number: 10.0.19041.0
Steps to reproduce
Attempting to update to WSL2 after updating to Windows 10 2004. Following the instructions in https://docs.microsoft.com/en-us/windows/wsl/install-win10 when I get to setting WSL2 as default:
Expected behavior
Actual behavior
I get the following error code:
PS C:\WINDOWS\system32> wsl --set-default-version 2
Error: 0x1bc
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 101
- Comments: 42
I just had the same problem. Updating the WSL2 kernel (https://docs.microsoft.com/nl-nl/windows/wsl/wsl2-kernel) fixed it. There is information in the documentation about a possible kernel error, but it seems that the error message is somehow broken?
I HAD this same problem. Updated windows build, wsl2 kernel, disabled hyper-v, enabled virtualization and wsl. WSL update give s this error message and does not install.
Solved my issue. You need to go right click .msi installer file and uninstall. Then install again. Like told in first note here: https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel
Came here to report the same error (sb3 – setting default version to 2 after having enabled vmp)
update: can confirm that updating the kernel corrected the problem. Obviously I am running 2004 (for anyone reading)
Thank you - downloading and installing wsl_update_x64 solved this error for me.
Ok, I have resolved my issue. This is what I did and one of the following models could have resolved it:
wsl_update_x64.msikernel to uninstallwsl_update_x64.msikernelwsl --set-default-version 2and it worked!This worked for me. I went to https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel and downloaded and installed the latest WSL2 Linux kernel update package for x64 machines.
I also got the same issue with the 0x1bc error code. Hence I follow the guides in https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel to download and install the
wsl_update_x64.msiand it works.😊I have tried both restarting and uninstalling (which failed, it said it wasn’t installed).
Seems like we have workarounds from @lpabon and @web-assistant but this error message is obviously terrible. Perhaps the work to be done at this point is to make it say something useful, perhaps recommending the kernel update or pointing to a FAQ or walkthrough that explains the workaround?
FWIW I could not get the update to install until I uninstalled it and started over as in @lpabon comment. It kept telling me it was only for systems with WSL until I removed it and went through the full process again.
I’ve just solved the same error with this way. Thank you.
Still happened today, with all software updates installed.
Kernel update MSI resolved the problem.
I had the same problem. I was able to solve it by the method written by @web-assistant .
That’s #5628, you aren’t alone. And yes it’s weird (and remains unexplained) because the file itself appears kosher.
Downloading the Linux kernel update package as per: https://docs.microsoft.com/nl-nl/windows/wsl/wsl2-kernel resolved it for me.
because it’s 2, and it requires an add-on package to work, if you don’t want to install addons package, feel free to stay with 1
Why should I install an add-on package for WSL 2 to work?
I have tried running the kernel update but just get “This update only applies to machines with the Windows Subsystem for Linux”. WSL1 still seems to be working fine.
I have collected detailed logs, should these be submitted here or through the
secure@microsoft.com? Would they contain any private details?