How to Fix Windows Sandbox Failed to Initialize

Fix Windows Sandbox failed to initialize by enabling virtualization, checking Windows features, installing updates, and repairing damaged system files.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To fix Windows Sandbox failed to initialize, enable processor virtualization, turn on the Windows Sandbox feature, and restart your PC. If those requirements are already met, update Windows and the Sandbox client before repairing Windows components. Use the error message to choose the relevant fix below.

The short version

  • Check the basics: Sandbox needs a supported Windows edition, compatible hardware, and processor virtualization enabled.
  • Finish installation: Enable Windows Sandbox in Windows Features and complete the requested restart.
  • Update both parts: Newer installations can need Windows updates and a separate Sandbox client update through Microsoft Store.
  • Follow the error: Hypervisor, configuration file, and client download errors require different fixes.
  • Repair last: Reinstall the Sandbox component or repair Windows when the earlier checks do not resolve the failure.

Check or fixWhen to use itWhat to do
System requirementsBefore software repairsCheck edition and hardware
Windows Home upgradeEligible Windows 11 Home PCUpgrade to Pro before enabling Sandbox
Firmware virtualizationDisabled on a physical PCEnable it using model-specific instructions
Nested virtualizationWindows runs inside a Hyper-V VMExpose virtualization extensions from the host
Windows FeaturesSandbox is missing or incompleteEnable Windows Sandbox
PowerShell installationAlternative to the feature checkboxEnable the optional feature as administrator
DISM installationSupported Windows 11 24H2 or later installationEnable the component and restart
Virtual WorkspacesAvailable on your Windows 11 buildEnable Sandbox through the settings page
Windows updatesWindows components need updatingInstall updates and restart
Client identificationUnsure which client you haveCheck its package version in PowerShell
Client updateNewer Sandbox client installationFinish the automatic or Store update
Host connectivityClient download failsRestore internet and update access
Store cache resetMicrosoft Store blocks installationRun wsreset.exe
Hyper-V installationMissing-hypervisor errorEnable Hyper-V
Hypervisor launchBoot setting reports OffRestore automatic hypervisor launch
Third-party virtualizationPossible hypervisor conflictCheck compatibility with Hyper-V
Custom configurationMissing file or invalid argumentCorrect the path, XML, or settings
Folder mappingDesktop mapping causes access deniedMap into a new Desktop subfolder
Organizational policyAdministrator-enforced settings conflictCorrect the file or contact your administrator
Software rendering fileSuspected graphics startup failureTry a configuration with vGPU disabled
vGPU policyAdministrative graphics diagnosticDisable vGPU sharing through policy
Offline configuration fileSuspected virtual networking failureTry a configuration with networking disabled
Networking policyAdministrative networking diagnosticDisable Sandbox networking through policy
Sandbox reinstallationEarlier checks do not helpRemove and reinstall the component
DISM and SFC repairWindows components may be damagedRun the repair commands in order
Windows repair reinstallationComponent repairs do not helpReinstall through Windows Update if available
Existing instanceOnly one instance is allowedReconnect to the running Sandbox
Failure captureSupported installation still failsSubmit reproduction details through Feedback Hub

Check your Windows edition and hardware

Windows Sandbox requires a supported edition, including Windows Pro, Enterprise, or Education. Windows Home does not support Sandbox, so enabling other virtualization features alone will not make it work there. On an activated Windows 11 Home PC that meets the hardware requirements, upgrade to Pro before enabling Sandbox.

Your PC needs an AMD64 processor or a supported Arm64 processor, at least 4 GB of RAM, 1 GB of available storage, and two CPU cores. Arm64 support begins with Windows 11 22H2. You can check your computer's RAM against the minimum before moving on; hardware below the requirements needs upgrading before software troubleshooting can help.

Enable processor virtualization

On a physical Windows 11 PC with virtualization disabled, open Settings > System > Recovery. Beside Advanced startup, select Restart now to access the Windows Recovery Environment. Select Troubleshoot > Advanced options > UEFI Settings > Restart.

Once you get to your PC's BIOS or UEFI settings, enable processor virtualization using the manufacturer's instructions for your exact model. Save the firmware settings and return to Windows. Firmware labels and startup keys vary, so use the model-specific instructions.

If Windows runs inside a Hyper-V virtual machine, you need nested virtualization on a host that supports it. With the target VM shut down, open elevated PowerShell on the host and run the following command, replacing <VMName> with the VM's name.

Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true

Start the VM, then enable Sandbox inside the supported Windows guest edition. This host-side change applies to virtual machines, not physical Windows installations.

Turn on the Windows Sandbox feature

Open Start, search for Turn Windows Features on or off, and open it. Select Windows Sandbox, select OK, and restart when prompted. After the restart, launch Windows Sandbox from Start; this installation step also addresses REGDB_E_IIDNOTREG.

Select Start to open the Windows Start menu.
Click to expand
Select Start to open the Windows Start menu.

For documented Windows 10 installations from version 1903 onward, use the same Start search and Windows Features checkbox. Windows 10's ordinary consumer support has ended, even though its installation steps remain documented.

PowerShell provides an alternative on supported Windows 11 editions and documented Windows 10 installations. Open Windows PowerShell using Run as administrator, run the following command, and restart to complete installation.

Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online

On supported editions of Windows 11 24H2 and later, you can also enable Sandbox through DISM. In an administrator terminal, run the following command.

dism.exe /Online /Enable-Feature /FeatureName:Containers-DisposableClientVM /All /NoRestart

Save your work and restart Windows. Open Windows Sandbox from Start and finish any client installation or update.

On Windows 11 25H2 and later builds that expose the newer page, open Settings > System > Advanced > Virtual Workspaces. Enable Windows Sandbox when that control is available and complete any requested restart. If the page or control is absent, use Windows Features instead.

Update Windows and finish the client installation

On Windows 11, open Start > Settings > Windows Update and select Check for updates. Select Install now if offered, complete installation, and restart before trying Sandbox again. This updates Windows and its virtualization components.

If you have the newer Store-serviced Sandbox client on Windows 11 24H2 or later, it has a separate update process. Launch Windows Sandbox from Start while connected to the internet and allow its automatic client upgrade to finish. A failed first attempt can leave installation running in the background; open Microsoft Store > Updates & downloads to install the queued update manually.

Errors such as WININET_E_NAME_NOT_RESOLVED, WU_E_PT_ENDPOINT_UNREACHABLE, E_FAIL, and E_UNEXPECTED can occur during the newer client's installation. Check that the host PC can access the internet, Windows Update, and Microsoft Store, restore that access, and relaunch Sandbox. For a Store timeout during installation, retry later. On a managed device, ask your administrator to investigate blocked installation or update access.

If Microsoft Store itself is malfunctioning and blocking installation, reset its cache. This clears the Microsoft Store cache. Press Windows + R, enter the following command, and select OK.

wsreset.exe

Wait for the command window to close and Microsoft Store to open. Then retry the queued Sandbox update or launch Sandbox again. This addresses Store installation problems rather than repairing the Sandbox virtual machine.

Restore the Microsoft hypervisor

For a missing-hypervisor error on Windows 11 Pro or Enterprise, open Control Panel > Programs > Programs and Features > Turn Windows Features on or off. Select Hyper-V, select OK, and restart. Sandbox requires Microsoft's hypervisor, and a third-party hypervisor is not a substitute.

You can alternatively enable Hyper-V from an administrator terminal. Choose either the PowerShell command or the DISM command below, then restart Windows.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

A hypervisor explicitly disabled in the boot configuration needs a different correction. Open Windows PowerShell using Run as administrator and check its launch setting with this command.

bcdedit /enum | findstr -i hypervisorlaunchtype

If the result reports Off, run the following command and restart Windows. This correction applies when Sandbox's required hypervisor has been disabled.

bcdedit /set hypervisorlaunchtype Auto

If you have third-party virtualization software, turn it off while checking whether Sandbox starts. If you retain VMware or VirtualBox, use a release that supports Hyper-V coexistence. Keep Microsoft's hypervisor enabled for Sandbox; checking compatibility does not guarantee a fix for every initialization error.

Correct custom files and check graphics or networking

If you normally launch Sandbox through a custom .wsb file, launch Windows Sandbox directly from Start for comparison. For ERROR_FILE_NOT_FOUND, correct the path to the configuration file. For E_INVALIDARG, correct its XML and settings.

If 0x80070005 occurs because a host folder is mapped directly onto the Sandbox Desktop, edit the mapping so its destination is a new subfolder of the Desktop. Relaunch using the corrected file. This addresses that mapping cause, not every access-denied error.

If Sandbox reports that settings are enforced by your IT administrator, your custom file cannot override the enforced Group Policy. Removing conflicting settings deletes those entries from your custom configuration. Remove the conflicting settings from the .wsb file or ask your administrator to review the policy. If policy blocks installation, contact your administrator.

For a suspected graphics-related startup failure on a supported device with vGPU available, you can try software rendering as a diagnostic. Microsoft supports disabling vGPU, but does not guarantee that this will fix initialization. Open Notepad and create a new file containing this configuration.

<Configuration><vGPU>Disable</vGPU></Configuration>

Save the filename as "Sandbox-software.wsb", including the quotation marks in the save dialog to preserve the extension. Double-click the saved file to launch Sandbox with that configuration. Software rendering can be slower.

On Windows 11 Pro, Enterprise, or Education with applicable policy support, you can use Group Policy as an administrative alternative. Open gpedit.msc and navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Sandbox > Allow vGPU sharing for Windows Sandbox. Select Disabled, select OK, and restart Sandbox. For device management, the equivalent is ./Device/Vendor/MSFT/Policy/Config/WindowsSandbox/AllowVGPU with value 0.

To check whether Sandbox's virtual networking contributes to startup failure, create a separate text file containing the following configuration. This is a diagnostic use of Microsoft's supported networking switch.

<Configuration><Networking>Disable</Networking></Configuration>

Save it as "Sandbox-offline.wsb" and double-click it. Disabling Sandbox networking does not restore the host internet access needed to download the newer client.

On Windows 11 editions with applicable policy support, you can instead open gpedit.msc and navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Sandbox > Allow networking in Windows Sandbox. Select Disabled, select OK, and restart Sandbox. The device management equivalent is ./Device/Vendor/MSFT/Policy/Config/WindowsSandbox/AllowNetworking with value 0.

Remove and reinstall the Sandbox component

This operation removes the complete Windows Sandbox component before installing it again. On Windows 11, open Settings > System > Optional features > More Windows features, uncheck Windows Sandbox, and select OK. Restart Windows to complete removal.

Reopen the same dialog, select Windows Sandbox, and select OK. Restart again, then launch Sandbox from Start. Removal and installation are supported operations, but combining them is a troubleshooting attempt rather than a guaranteed repair.

Repair damaged Windows components

Damaged Windows components can require system repair after the installation and virtualization checks. On Windows 11 and documented Windows 10 installations, search for cmd, right-click Command Prompt, and select Run as administrator. To repair Windows using Command Prompt, start with this DISM command.

Open Command Prompt from the Start menu search.
Click to expand
Open Command Prompt from the Start menu search.
DISM.exe /Online /Cleanup-image /Restorehealth

After DISM completes successfully, run the following System File Checker command. Allow verification to finish before closing the window, then restart and try Sandbox again.

sfc /scannow

If the failure persists and the recovery option is available, Windows 11 offers a repair reinstallation that preserves apps, files, and settings. On Windows 11, open Start > Settings > System > Recovery. Under Fix problems using Windows Update, select Reinstall now, then select OK to begin.

Keep the PC connected to power and the internet, and restart after installation if it has not restarted automatically. This option requires the 2022 annual update or later plus the February 2024 optional update or later, and it may be unavailable on managed PCs. If it is absent, contact your administrator on a managed PC or continue to failure reporting below. Repair reinstallation is a general Windows repair, not a guaranteed fix for a Sandbox timeout such as 0x800705B4.

Capture a failure that still persists

For a persistent failure on a supported Windows version, open Feedback Hub and submit the error text and reproduction details under the Security and Privacy category, using its dedicated Windows Sandbox option. Select Recreate my problem, then select Start capture. Reproduce the failure, select Stop capture, attach relevant evidence, and select Submit.

Frequently Asked Questions

How do you upgrade Windows 11 Home so it can run Sandbox?

On an activated Windows 11 Home PC that meets Sandbox's hardware requirements, open Start > Settings > System > Activation. With an existing Pro key, select Change beside Change product key, enter the key, and select Next. Otherwise, expand Upgrade your edition of Windows and select Open Store to purchase the Pro upgrade using your Microsoft account. Complete installation, restart, and then enable Sandbox.

What hardware does Microsoft recommend beyond the minimum?

Microsoft recommends 8 GB of RAM, an SSD, and four CPU cores with hyper-threading. These recommendations are above Sandbox's minimum hardware requirements.

Do Surface devices need virtualization enabled in firmware?

Microsoft says virtualization is already enabled on Surface devices. If Sandbox fails on your Surface, continue with the Windows feature, update, and error-specific checks.

How can you tell which Sandbox client is installed?

In PowerShell, run Get-AppxPackage -Name WindowsSandbox | Select-Object Version; a returned version identifies the newer client, while no version indicates the older client. Alternatively, run wsb --version. On Windows 11, the newer client also appears under Settings > System > System components.

Why does Sandbox say only one instance is allowed?

With the newer Sandbox client, that message can mean a session is already running rather than initialization having failed. Switch to the existing Sandbox window through the taskbar. If it has no visible window, run wsb list, then run wsb connect --id <id>, replacing <id> with the listed instance ID.

Share