How to Enable Windows Sandbox in Windows 10 Home Edition

Using Windows 10 Home edition? Here’s a simple way to enable Windows Sandbox in the Home edition.

Microsoft introduced the Windows Sandbox feature in v1903. The sandbox is a virtual environment that allows you to test new applications and even different Windows settings without effecting the actual machine. In fact, when you enable the Sandbox feature, it will create a PortableBaseLayer partition that is separate from everything on your system.

As good as it is, Windows Sandbox is only available in Windows 10 Pro and Enterprise versions. However, with a simple trick, you can trick Windows and enable Windows Sandbox in Home edition too. Let me show you how.

Note: If you are using Controlled Folder Access, disable it temporarily. Otherwise, it will block the script and changes made by it.

Warning: Before proceeding, create a full backup of the system. This helps you restore the system just in case.

Steps to Enable Windows Sandbox in Windows 10 Home Edition

To enable Windows Sandbox in the Home edition, you need to run a special script. This script will load the required packages and makes it possible to enable the Sandbox feature in the Home edition. Just follow the steps as it is and you will good.

1. First, create a new text document. To do that, right-click on the desktop and select “New → Text document” option.


2. Name the file as “sandbox-installer.bat”. It is important that you replace .txt extension with .bat.


3. Right-click on the newly created file and select “Edit”.


4. The above action will open the file with Notepad. Once opened, copy the below code, paste it in the file and click “File → Save” to save the file. You can also press “Ctrl + S” to save the file.

@echo off

echo Checking for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"

echo Permission check result: %errorlevel%

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )

echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"

echo Running created temporary "%temp%\getadmin.vbs"
timeout /T 2
exit /B

if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0" 

echo Batch was successfully started with admin privileges
echo .
Title Sandbox Installer

pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\*Containers*.mum >sandbox.txt

for /f %%i in ('findstr /i . sandbox.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

del sandbox.txt

Dism /online /enable-feature /featurename:Containers-DisposableClientVM /LimitAccess /ALL


5. After saving and closing the .bat file, right-click on it and select “Run as administrator”.


6. As soon as you run the file, a Command Prompt window will open. It will load all the required packages. Once that is done, it will ask you to reboot Windows. Type Y and press Enter to reboot Windows.

7. After rebooting, search for “Turn Windows features on or off” in the start menu and click on the result.

8. In the Windows Features window, select the “Windows Sandbox” checkbox and click “Ok” to continue.


9. The above action will trigger Windows to download any additional files. Once that is done, reboot Windows.

10. After the second reboot, simply search for “Windows Sandbox” in the start menu and click on the result to open and use Windows Sandbox in Windows 10 Home edition.

Wrapping Up

As you can see, it is pretty easy to install Windows Sandbox in Windows 10 Home Edition. If you ever want to revert back, simply uncheck the Windows Sandbox checkbox in step 8 and you are good to go.

Keep in mind that this is a simple hack and there is no guarantee that it will work all the time or in all future versions of Windows.

Hope that helps. If you are stuck or need some help, comment below and I will try to help as much as possible.

7 thoughts on “How to Enable Windows Sandbox in Windows 10 Home Edition”

    1. Avatar for Bill Vlasak

      That is the whole idea of an OS Sandbox—-safety. Anything you do with the Sandbox gets erased when you close it. Installing it this way is perfectly safe but only works if you do not have another Virtual Machine installed at the same time. Try it. If you don’t like it, then remove it from the list and re-install a Virtual Box ,like Oracle, or Virtual Machine.

  1. Avatar for Andrea

    Hi, thanks for this tutorial. I just went through all the steps, then I clicked on the Windows Sandbox App and I’ve received the message “Windows Sandbox failed to initialise”. I don’t have any other Virtual Machine installed. Is there a way to reverse all of it (delete all the packages)? Cheers!

      1. Avatar for Andrea

        Geez, you’re quick! Thanks, I’ve done that. But I was thinking of reversing the unpacking and installing of all the downloaded files, that are now obsolete. Or won’t they affect my system in any way?

        1. Avatar for Bashkarla

          Once you uncheck the option, Windows will automatically disable/uninstall packages as required. Being system packages, even if a package is active, it will not affect the system.

Leave a Comment

Scroll to Top