Windows Sandbox is a lightweight isolated virtual environment, designed to safely run and test untrusted applications without affecting the host system. It's a temporary, disposable instance that resets after closure, ensuring no permanent changes or data persist.
Everything required for this feature is included in Windows 10/11 Pro and Enterprise.
To enable Windows Sandbox, open PowerShell as Administrator and run the following command:
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online