WSL: Error 0xd000020c with version 2.1.0.0 and later

Windows Version

Microsoft Windows [Version 10.0.19045.3992]

WSL Version

2.1.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

Download and install MSI files from Github for versions 2.1.0.0 or 2.1.1.0 and try to run wsl -d Ubuntu.

Expected Behavior

Ubuntu should start as usual…

Actual Behavior

Error: 0xd000020c Error code: Wsl/Service/CreateInstance/0xd000020c

After reinstall MSI file from Github for version 2.0.15.0, everything works again. I tried reboot the system with no success.

Diagnostic Logs

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 27 (3 by maintainers)

Most upvoted comments

@qdel As a workaround, simply download and install an older .msi and WSL 1 should work afterwards. A reboot is not needed. https://github.com/microsoft/WSL/releases/tag/2.0.14 works for me.

Thanks everyone for the info. We’re still investigating the root cause this.

We have some leads but we need a bit more info to validate them, if someone could try the following, that would be super helpful for us:

  • Upgrade to the latest version of WSL via: wsl.exe --update
  • Run wsl --uninstall To make sure every is cleaned up
  • Download the latest MSI package
  • Install it via (elevated command prompt): `msiexec /i <path/to/msi> SKIPLSP=1

Once done, see if the issue is fixed

Yes, installing Appx-Package, powershell: Add-AppxPackage ./Microsoft.WSL_2.0.15.0_x64_ARM64.msixbundle is a workaround atm.