how to install WSL on windows server core 2022

Anonymous
2024-04-04T22:52:41+00:00

i am running azure devops agent on a windows server core 2022 server.

i need to enable bash commands for azure pipelines.

i can't install wsl and a distribution

i keep getting

Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore

i download ubuntu and try to add the app and get

Class not registered

PS C:> wsl --install

Windows Subsystem for Linux is already installed.

Class not registered

Windows for business | Windows Server | Devices and deployment | System management components

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-05T02:18:31+00:00

    Hello Brad Johnson1,

    thank you for posting on the Microsoft Community Forums.

    Based on the description, I understand that your issue is related to WSL.

    Since there are no engineers dedicated to WSL in this forum. In order to be able to deal with your questions quickly and efficiently, I recommend that you repost your questions in the Q&A forum, where there will be a dedicated engineer to provide you with a professional and effective response.

    Here is a link to the Q&A forum: https://learn.microsoft.com/en-us/answers/questions/

    Have a nice day.

    Best regards,

    Lei

    0 comments No comments