@SethNY said in Windows 11 WSL2 is not supported with your current machine configuration:
XCP-ng 8.3, XO from sources.
Created Win11 from ISO using the built-in Windows 11 template
Configured and turned into template for cloning.Trouble installing WSL on the cloned Win11:
WSL2 is not supported with your current machine configurationThis worked a couple years ago Win10 on XCP-ng 8.2, Ubuntu 22.04.
From administrative powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux (Accept the reboot, back to administrative powersehll) wsl --install (fails) wsl --list --online wsl --install -d Ubuntu-24.04 (fails again)I tried enabling Nested Virtualization for the VM without success
Booted to (F2) BIOS and confirmed not virtualization options there to enableHas anyone got Win11/WSL/8.3 working? I'm hoping it's not due to not installing a Windows license key.
You were probably using WSL 1 before, and now using WSL 2 (which requires Hyper-V thus nested virtualization). And I'm not aware of WSL 2 working on XCP-ng 8.2, I assume you were actually using WSL 1 previously.
You can use WSL 1 by using
wsl.exe --set-default-version 1
and
wsl.exe --set-version <Distro> 1