Windows Sandbox is one of the most powerful security features included in Windows 11 Pro, Enterprise, and Education editions, providing a lightweight, disposable desktop environment for testing untrusted software safely. However, attempting to launch the utility only to be blocked by an error dialogue stating “Windows Sandbox failed to initialize” (frequently accompanied by error codes 0x80070002, 0x80070057, or 0x800706d9) is an irritating hurdle.
Because Windows Sandbox generates a temporary containerized operating system dynamically using Hyper-V virtualization, initialization failures occur when hardware virtualization is disabled in motherboard firmware, when essential Hyper-V services fail to start, or when the Windows sandbox component store suffers file corruption. Follow these technical procedures to restore Sandbox operation.
Verify and Enable Hardware Virtualization in BIOS/UEFI
Windows Sandbox cannot spin up its virtualized micro-kernel if CPU hardware virtualization extensions (Intel VT-x or AMD-V) are disabled at the motherboard firmware level.
- Press Ctrl + Shift + Esc to launch Task Manager.
- Switch to the Performance tab and select CPU.
- Look at the bottom right corner of the window for the line labelled Virtualization.
- If Virtualization reports “Disabled”, you must enable it in firmware:
- Restart your PC and press your motherboard’s BIOS key (typically F2, F12, or Del during boot).
- Navigate to Advanced CPU Configuration or Security settings.
- Enable Intel Virtualization Technology (Intel VT-x) or AMD SVM (Secure Virtual Machine).
- Save changes and reboot into Windows 11.
Verify Required Virtualization Features in Optional Features
Windows Sandbox requires both the Hyper-V hypervisor stack and the Virtual Machine Platform subsystem to be active concurrently.
- Press Win + R, type
optionalfeatures, and press Enter to open the Windows Features dialogue. - Scroll through the list and confirm checkmarks are present next to:
- Windows Sandbox
- Virtual Machine Platform
- Windows Hypervisor Platform
- Hyper-V (if available on your edition)
- If any of these features were unticked, tick them, click OK, allow Windows to download required binaries, and reboot your machine when prompted.
Restart Hyper-V Host Compute and Container Services
If the background services responsible for managing Sandbox containers crash or fail to initialize on boot, the graphical launcher will fail with error code 0x800706d9.
- Press Win + R, type
services.msc, and press Enter. - Scroll down to locate the following four services:
- Hyper-V Host Compute Service (vmcompute)
- Hyper-V Virtual Machine Management (vmms)
- Container Manager Service
- Network Virtualization Service
- Right-click each service and select Restart. If a service is stopped, click Start and set its Startup type to Automatic.
- Launch Windows Sandbox to test initialization.
Reinstall the Windows Sandbox Component via PowerShell
If system update patches corrupted Sandbox runtime staging files, executing a clean feature cycle via administrative PowerShell rebuilds the container snapshot.
- Search for
powershellin the Start menu, right-click Windows PowerShell, and select Run as administrator. - Disable the Sandbox feature cleanly:
Disable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -NoRestart - Reboot your computer:
shutdown /r /t 0. - Upon rebooting, open elevated PowerShell again and re-enable the feature:
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" - Allow Windows to rebuild the feature packages and reboot when prompted.
Execute Component Store Repair Scans
To repair damaged system DLL files required by the virtual machine composition layer, run deployment image repair scans.
- Open Command Prompt as administrator.
- Run the DISM image restore command:
DISM /Online /Cleanup-Image /RestoreHealth - Next, run the system file integrity checker:
sfc /scannow - Once complete, launch Windows Sandbox. The sandboxed disposable desktop will now initialize smoothly within seconds.