-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
'WSL2 is not supported' error on Azure DevOps Agent windows-2025 #11869
Comments
Hi @dawidwozny - Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating. |
Hi @dawidwozny - In meantime, could you please provide your failed build link for windows-2025 which throws error related to WSL2 so that we can debug more into this. Thanks. |
@Prabhatkumar59 Thanks for taking care of it. I have initially tried that in pipeline under private Azure Devops Project so can't send the link. I have just tried that in newly created Public public project but run out of free minutes on it so won't be able to send for the next week. The pipeline is in public GitHub repo so it should be able to just run it in Azure Devops. |
Attached logs: logs_1127.zip |
@afscrome since this works on GitHub Action runner windows-2025 https://github.com/dawidwozny/ms-hosted-windows-2025/actions/runs/14041804947 are you suggesting that I can run nested virtualisation on GitHub runner? |
Hi @dawidwozny - Thanks for your input, i will check more into this and will update you accordingly. |
Description
I am getting error on Azure Devops agent windows-2025 which should support WSL2. Running
wsl --install Ubuntu
returns: *WSL2 is not supported with your current machine configuration. Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS. *The same command works on GitHub Runner windows-2025.
Sample pipeline with error: https://github.com/dawidwozny/ms-hosted-windows-2025/blob/main/azure-pipelines.yml
Platforms affected
Runner images affected
Image version and build link
Azure Devops Agent Version: 20250309.1.0
Is it regression?
no
Expected behavior
Distribution should be installed as it happens on GitHub runner.
Link to working pipeline using GitHub Actions: https://github.com/dawidwozny/ms-hosted-windows-2025/blob/main/.github/workflows/main.yml
Actual behavior
Throwing error:
WSL2 is not supported with your current machine configuration.
Please enable the "Virtual Machine Platform" optional component and ensure virtualization is enabled in the BIOS.
Enable "Virtual Machine Platform" by running: wsl.exe --install --no-distribution
For information please visit https://aka.ms/enablevirtualization
Error code: Wsl/InstallDistro/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED
Repro steps
Run publicly available pipeline: https://github.com/dawidwozny/ms-hosted-windows-2025/blob/main/azure-pipelines.yml
The text was updated successfully, but these errors were encountered: