Yes. You can remove Windows Sandbox by turning off its Windows optional feature, either in the Windows Features dialog or with an administrator command. Doing so disables the Sandbox feature; it does not uninstall Windows, erase files you saved on the host, or automatically remove every virtualization component.
What Windows Sandbox is—and what removal means
Windows Sandbox is a built-in feature on supported editions of Windows that starts a temporary desktop environment for running an app or opening a file separately from your normal Windows session. It is intended for tasks such as checking an unfamiliar installer or testing a change without keeping a separate virtual machine permanently.
When you close the Sandbox, its temporary environment and the changes made inside it are discarded. That behavior is different from a regular virtual machine, which can retain its operating system and files between sessions. You can deliberately move files between the host and Sandbox, however, so not every action is automatically isolated from your personal data.
Removing the feature means Windows no longer offers the Sandbox environment until you enable it again. It is an optional Windows component, not a separate subscription or an app you need to purchase. A Windows Sandbox configuration file, such as a .wsb file, is an ordinary file and may remain on your computer after the feature is turned off.
Should you remove it?
If you never use Sandbox, disabling it is a reasonable way to simplify the Windows features installed on your PC. It can also help when an organization wants to standardize which optional components are available. For most people, though, there is no need to remove it simply because it is present: an unused Sandbox does not run as a separate desktop session all the time.
Consider keeping it if you occasionally need a disposable place to test a download, inspect a document, or try software without installing it in your usual Windows environment. It can be more convenient than creating and maintaining a full virtual machine. It is not a guarantee that every malicious program is harmless, so do not treat it as a substitute for security updates, antivirus protection, or caution.
Before disabling it, check whether you or an administrator relies on it for a work or testing process. If you are troubleshooting another virtualization program, removing Sandbox may not be the right fix: several Windows features use virtualization technology, and turning off Sandbox does not necessarily turn off the hypervisor or all related components.
Check whether your Windows edition supports it
Windows Sandbox is generally available on supported Pro, Enterprise, and Education editions of Windows 10 and Windows 11. It is not normally included as an installable feature on Windows Home. Availability also depends on the Windows version, hardware virtualization support, and system configuration.
If Windows Sandbox is missing from the feature list, that does not necessarily mean it has been removed or damaged. Your edition may not support it, the PC may not meet its requirements, or a work or school policy may hide or restrict the feature. On a virtual machine, nested virtualization may be required and may need to be enabled by the system administrator. Check your Windows edition in Settings under System and About before trying to enable or remove anything.
Remove Sandbox in Windows Features
The graphical method is suitable for most users and makes it easy to confirm which feature you are changing:
- Save your work and open Start.
- Search for Turn Windows features on or off and open the result. You can also run optionalfeatures.exe.
- Find Windows Sandbox in the list and clear its checkbox.
- Select OK and let Windows apply the change. Restart if Windows asks you to.
After the change and any required restart, Windows Sandbox should no longer be available from Start. If the checkbox was already clear, the feature is not enabled through that Windows Features interface. If you do not see Windows Sandbox in the list, check your edition and device support rather than assuming you need to remove a similarly named feature.
Remove it with PowerShell or DISM
Administrators and users who prefer the command line can disable the optional component from an elevated terminal. Open Windows Terminal or PowerShell as an administrator, then run:
Disable-WindowsOptionalFeature -Online -FeatureName Containers-DisposableClientVM
DISM can perform the same operation from an administrator Command Prompt or Terminal:
dism /Online /Disable-Feature /FeatureName:Containers-DisposableClientVM
The feature name identifies Windows Sandbox. Allow the operation to finish and restart if prompted. Do not run an unfamiliar script that claims to remove Sandbox by deleting system files; use Windows servicing tools so the operating system can track the feature correctly.
To restore it later, open Windows Features and select Windows Sandbox again, or run Enable-WindowsOptionalFeature -Online -FeatureName Containers-DisposableClientVM -All in an elevated PowerShell window. Windows may need to download or repair component files if the local component store is incomplete.
What changes after you disable it?
Once disabled, you cannot start a new Windows Sandbox session until the feature is enabled again. The change does not ordinarily delete files in your Windows user folders, uninstall third-party virtual machines, or disable hardware virtualization in your computer’s firmware. Nor should you expect it to switch off every Hyper-V-related Windows component: other Windows features and applications may depend on virtualization separately.
Files created only inside a Sandbox session are normally lost when that session closes, because the environment is disposable. Files you explicitly copied to the host, saved in a mapped host folder, or otherwise stored outside the temporary environment remain subject to their usual Windows storage rules. Turning off the feature is not a method for securely erasing files that were exported to the host.
If you are removing Sandbox to address a conflict with software such as another virtual machine platform, test that software after disabling the feature and restarting. If the conflict continues, consult that product’s documentation or your IT administrator. Avoid disabling unrelated Windows components at random: doing so can affect other virtualization-based tools or security features.
Common problems and checks
If Windows Features does not show Sandbox, first confirm the edition and version of Windows. If the feature is supported but unavailable, check whether virtualization is enabled and whether the device is managed by an organization. Policy restrictions can prevent users from changing optional features even when the hardware supports them.
If the PowerShell or DISM command reports that the feature name is unknown, verify that you typed Containers-DisposableClientVM correctly and that your Windows installation supports Sandbox. If Windows reports a servicing error, restart and try again; on a managed PC, ask your administrator before changing system features. For persistent component-store errors, use Microsoft’s Windows servicing guidance rather than manually deleting files from the component store.
If you disabled Sandbox but still see a shortcut or a .wsb configuration file, that does not prove the feature is still running. A shortcut or configuration file can remain after an optional feature is turned off. Check Windows Features or the command result, and remove leftover personal shortcuts or configuration files separately only if you no longer need them.
Safety and alternatives
Sandbox is useful for reducing the risk of interacting with an unknown file in your normal desktop, but it is not an absolute security boundary. Its settings can allow conveniences such as networking, clipboard use, or access to selected host folders. A configured folder may expose host data to software running inside the Sandbox, especially if it is writable. Review any .wsb configuration before launching it, and do not map sensitive folders unless you understand the consequences.
If you disable Sandbox but still need an isolated testing environment, options include a properly configured virtual machine, a separate test computer, or a managed application-testing service. A full virtual machine can preserve state and offer more control, but it takes setup, storage, and maintenance. For a one-off test, a disposable environment is often simpler. Do not assume that another tool provides the same isolation or settings; follow its security documentation.
Frequently Asked Questions
Is it safe to remove Windows Sandbox?
Yes, if you do not need it. Turning off the optional feature is a supported Windows change. It does not normally remove personal files or disable all virtualization, but check with your administrator on a managed device.
Does removing Sandbox delete files from my computer?
It does not normally erase files stored on the Windows host. The temporary contents of a Sandbox session are discarded when that session closes; files copied or saved to host folders remain there.
Can I reinstall Windows Sandbox later?
Yes. Re-enable Windows Sandbox in Turn Windows features on or off, or use the PowerShell enable command above. A restart may be required.
Why can’t I find Windows Sandbox?
Your Windows edition may not support it, the feature may already be disabled, your device may not meet its requirements, or an administrator may restrict it. Check Windows edition and device policy first.
Will disabling Sandbox fix problems with another virtual machine?
Not necessarily. Other virtualization software can interact with Windows hypervisor components independently of Sandbox. Disable Sandbox and restart as a test, then check the other product’s compatibility guidance if the issue remains.