-
Notifications
You must be signed in to change notification settings - Fork 840
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
Receive "Access is Denied" error message when attempting to run WSL #10475
Comments
Additional Information:I found two ways I can run WSL in the console.
Result: a WSL terminal session opens in a new window
Result: a WSL terminal session opens in a new window |
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! |
Windows Version
Microsoft Windows [Version 10.0.22621.2134]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90
Distro Version
Ubuntu 20.04
Other Software
Visual Studio Code 1.82.2 with WSL Extension v0.81.3
Repro Steps
Open command prompt
wsl --status
-or-
Open Windows PowerShell
wsl --status
-or-
Open VS Code and Connect to WSL
Expected Behavior
See general information about your WSL configuration, such as default distribution type, default distribution, and kernel version.
(per https://learn.microsoft.com/en-us/windows/wsl/basic-commands)
Actual Behavior
Command Prompt error message:
Access is denied.
Windows PowerShell error message:
Program 'wsl.exe' failed to run: Access is deniedAt line:1 char:1
+ wsl --status
+ ~~~~~~~~~~~~.
At line:1 char:1
+ wsl --status
+ ~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
VSCode error message:
Failed to connect to the remote extension host server (Error: spawn EPERM)
Diagnostic Logs
WslLogs-2023-09-14_15-56-48.zip
The text was updated successfully, but these errors were encountered: