Enable Windows Subsystem for Linux

Optional Windows FeaturesMinimale Windows-Build-Nummer: 22000Neustart erforderlich

Windows Subsystem for Linux allows you to run a Linux environment directly on Windows without the need for a virtual machine.

Anwendungscode

Diese Optimierung verwendet PowerShell-Befehle direkt (keine Registry-Änderungen).
Enable Windows Subsystem for LinuxPowerShell
# Enable Windows Subsystem for Linux (WSL)
# A reboot is required after enabling this feature

Write-Host "Enabling Windows Subsystem for Linux..." -ForegroundColor Cyan
Enable-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform" -All -NoRestart
Enable-WindowsOptionalFeature -Online -FeatureName "Microsoft-Windows-Subsystem-Linux" -All -NoRestart

Write-Host "Windows Subsystem for Linux has been enabled. Please restart your PC." -ForegroundColor Green

Möchten Sie dies mit anderen Optimierungen kombinieren?

Konfigurator öffnen