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

Most upvoted comments

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 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?

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)

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

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:

  1. Removed wsl and the vm additions
  2. rebooted
  3. Updated Windows 10 2004 with “Cumulative Update Preview for Windows 10 2004…” KB4568831 (Some how it picked this up when I clicked Check for updates).
  4. Right clicked on wsl_update_x64.msi kernel to uninstall
  5. Added wsl and vm additions
  6. rebooted
  7. Installed wsl_update_x64.msi kernel
  8. THEN I typed wsl --set-default-version 2 and 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.msi and it works.😊

I have tried both restarting and uninstalling (which failed, it said it wasn’t installed).

image

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.

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

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 .

Maybe it’s just my computer and it’s CA that’s borked?

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.

Why should I install an add-on package for WSL 2 to work?

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.

image

I have collected detailed logs, should these be submitted here or through the secure@microsoft.com? Would they contain any private details?