Enable Windows Sandbox

Optional Windows FeaturesMinimum Windows Build: 22483Requires Reboot

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 to Apply

This tweak uses PowerShell commands directly (no registry changes).
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

Want to combine this with other tweaks?

Open Configurator