WSL2 WSLRegisterDistribution Error 0x80071772
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
-
Your Windows build number: Microsoft Windows 10 Pro Version 10.0.19041.207 (Type
verat a Windows Command Prompt) -
What you're doing and what's happening: Download Ubuntu 20.04 LTS from Microsoft Store, Go to windows start menu and start Ubuntu 20.04 LTS (Or go to command line and type ubuntu2004) (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
-
What's wrong / what should be happening instead: I get the following error
Ubuntu2004
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80071772
Error: 0x80071772 The specified file is encrypted and the user does not have the ability to decrypt it.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Microsoft Store Ubuntu 20.04 installation steps on the reported Windows build and inspect the WslRegisterDistribution 0x80071772 output. Done means identifying and resolving the encrypted-file registration failure so Ubuntu launches successfully under WSL2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100