Enable Windows Sandbox

Optional Windows FeaturesVersion minimale de Windows: 22483Redémarrage requis

Windows Sandbox is a lightweight desktop environment for safely running applications in isolation. Software installed inside the Windows Sandbox environment remains 'sandboxed' and runs separately from the host machine. Only supported on Windows 11 Pro, Workstation, and Enterprise editions.

Code à appliquer

Cet ajustement utilise des commandes PowerShell directement (aucune modification du Registry).
Enable Windows SandboxPowerShell
# Enable Windows Sandbox
# Requires Windows 11 Pro, Workstation, or Enterprise
# A reboot is required after enabling this feature

Write-Host "Enabling Windows Sandbox..." -ForegroundColor Cyan
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All -NoRestart

Write-Host "Windows Sandbox has been enabled. Please restart your PC." -ForegroundColor Green

Envie de combiner ceci avec d'autres ajustements ?

Ouvrir le configurateur