Skip to content
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 use wsl command #10728

Closed
godlikegit opened this issue Nov 9, 2023 · 4 comments
Closed

can't use wsl command #10728

godlikegit opened this issue Nov 9, 2023 · 4 comments

Comments

@godlikegit
Copy link

windows version

Edition	Windows 11 Pro
Version	22H2
Installed on	‎8/‎9/‎2023
OS build	22621.2134
Experience	Windows Feature Experience Pack 1000.22659.1000.0

command like this

PS C:\Users\admin> wsl
Access to %1 has been restricted by your Administrator by policy rule %2.

I installing the wsl by https://learn.microsoft.com/en-us/windows/wsl/install-manual
I tryed many point like: Run powershell as administrator restart my pc
but the wsl command always tips above error.
What should i do?

@benhillis
Copy link
Member

/logs

@godlikegit
Copy link
Author

/logs

hi, here is the logs file:
WslNetworkingLogs-2023-11-13_18-43-11.zip

@OneBlue
Copy link
Collaborator

OneBlue commented Nov 14, 2023

@godlikegit: It looks like your machine has a group policy that specifically blocks WSL. I'd recommend contacting your administrator to try to solve the issue.

Unfortunately this is not something that can be solved on the WSL side.

@zoeyzhao19
Copy link

I am encounting the same issue, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants