diff --git a/images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1 b/images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1 index 6e721276bb..c87ffcb85e 100644 --- a/images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1 +++ b/images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1 @@ -20,7 +20,11 @@ Import-Module (Join-Path $PSScriptRoot "SoftwareReport.VisualStudio.psm1") -Disa # Software report $softwareReport = [SoftwareReport]::new($(Build-OSInfoSection)) $optionalFeatures = $softwareReport.Root.AddHeader("Windows features") -$optionalFeatures.AddToolVersion("Windows Subsystem for Linux (WSLv1):", "Enabled") +# WSL is not functional on Arm64: WSL2 needs nested virtualization (unavailable on Azure Arm64 sizes) +# and WSL1 is a legacy component that does not work on Arm64. See actions/runner-images#14076. +if (-not (Test-IsWin11-Arm64)) { + $optionalFeatures.AddToolVersion("Windows Subsystem for Linux (WSLv1):", "Enabled") +} if (Test-IsWin25-X64) { $optionalFeatures.AddToolVersion("Windows Subsystem for Linux (Default, WSLv2):", $(Get-WSL2Version)) }