How can I control the WSL

2023-08-14T08:12:38.6533333+00:00

I want to open the WSL function on user device. But I am worried about the user installing the kail. How can I make the WSL only install the Ubuntu and not install kail. Thanks.

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
2,018 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ian Xue-MSFT 41,691 Reputation points Microsoft External Staff
    2023-08-15T09:43:47.6666667+00:00

    Hi,

    Unfortunately I didn't find a way to remove the support for Kali from WSL. Maybe you can create a group policy to remove Kali with "wsl --unregister".

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Limitless Technology 44,681 Reputation points
    2023-08-15T13:27:06.4966667+00:00

    Hello

    Thank you for your question and reaching out.

    If user has Admin and Windows store access then can install any version of Linux WSL.

    However if user is trying to download and install from Store then you can restrict then using App Locker.

    https://learn.microsoft.com/en-us/windows/configuration/stop-employees-from-using-microsoft-store

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.