-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open WSL2 distro - "The specified file is encrypted and the user does not have the ability to decrypt it" #5507
Comments
Do you have any third-party security or antivirus software installed? It appears that something is blocking access to
|
Yep, I'm running Sophos Endpoint Agent (or my employer is, anyway). Does that seem like a plausible culprit? It doesn't list any events that look like blocking access to that DLL, but maybe it's not important enough to make the event list. |
It's a possible culprit yes, but other causes should not be ruled out. |
This was happening to me too - not sure if this will help you @jakob223, but I worked around the issue by finding the distro's Appx package under
Then copying everything in there into a separate directory on the root of your drive. You should (hopefully) be able to start the distro, at least running the executable seems to work for me. There's also an ext4 disk image in the new directory afterwards, so I'm assuming this is where the distro will run from - make sure you don't delete it afterwards. |
I had this issue and my fix was similar to @abagonhishead . I had to give myself permissions to the Program Files\WindowsApps folder and COPY (cutting did not work) to a folder in the root directory. After that I ran Kali.exe as administrator from the newly copied location. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Environment
Some other possibly relevant information:
Steps to reproduce
I'm not sure the exact steps to reproduce this. Now that I'm having the issue, all I need to do is (now for either of my two WSL2 distributions, but previously only one) try to open a WSL command line.
Things that might or might not be relevant:
sudo ifconfig eth0 down
in the guest OS? I was trying to debug this issue [WSL2] Checkpoint VPN breaks network connectivity #4246 which eventually one of the workarounds in that issue helped me with in the second WSL installation.I've also tried downgrading to WSL 1 but I get the same error.
Expected behavior
I get access to my WSL VM
Actual behavior
Here's the
strace wsl
output: https://gist.github.com/jakob223/a6f95c14cef7895af07b9d71b026ada6And the detailed logs: detailed_logs.zip
The text was updated successfully, but these errors were encountered: