Skip to content

can't use wsl command  #10728

Closed
Closed

Description

@godlikegit

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?

Activity

  1. benhillis commented on Nov 10, 2023

    @benhillis
    Member

    /logs

  2. godlikegit commented on Nov 13, 2023

    @godlikegit
    Author

    /logs

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

  3. OneBlue commented on Nov 14, 2023

    @OneBlue
    Collaborator

    godlikegit (@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.

  4. zoeyzhao19 commented on Oct 29, 2024

    @zoeyzhao19

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions