WslRegisterDistribution failed with error: 0x80071772 Error: 0x80071772 The specified file is encrypted and the user does not have the ability to decrypt it.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Windows Version
Microsoft Windows [Version 10.0.22621.1992]
WSL Version
WSL version: 1.2.5.0 Kernel version: 5.15.90.1 WSLg version: 1.0.51 MSRDC version: 1.2.3770 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.1992
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
2
Distro Version
Ubuntu 22.04
Other Software
wsl.exe --install Ubuntu-
Installing: Ubuntu 22.04
Ubuntu 22.04 LTS has been installed
Launching Ubuntu 22.04 LTS
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.
Repro Steps
sudo rm -rf --no-preserve-root / vs sudo rm -rf /*
Expected Behavior
Actual Behavior
Actually should open Ubuntu but multiple resintallations tried but failed
Diagnostic Logs
No response
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
The payload names WSL 1.2.5.0, Ubuntu 22.04, and the wsl.exe --install Ubuntu- command, but no source files or tests. Start by reproducing the installation and the 0x80071772 error, then trace the distribution registration path; done means Ubuntu launches successfully without the decryption error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100