How to uninstall WSL distros of all users by admin

Manju 110 Reputation points
2024-10-07T09:31:21.6466667+00:00

Is it possible for admin user to uninstall WSL distros created by other users ?

Here is my usecase. I install my application as admin. A non-admin user uses this application and creates WSL distrol. Once admin uninstalls the application, I want all the distros created by the users when using the application. Is that possible ?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,353 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daisy Zhou 32,416 Reputation points Microsoft External Staff
    2024-10-09T07:54:45.71+00:00

    Hello Manju
    Thank you for posting in Q&A forum.

    When you install an application as an admin and a non-admin user creates WSL (Windows Subsystem for Linux) distros using that application, the distros are tied to the user's profile. If the admin uninstalls the application, the distros created by the non-admin user should remain intact because they are stored in the user's profile, not in the application itself.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

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

    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.