Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Basics of Web development with Node js

    June 6, 2023

    How to Remove Pride Flag from Widget Board in Windows 11

    June 2, 2023

    How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

    June 2, 2023
    What's Hot

    Basics of Web development with Node js

    June 6, 2023

    How to Remove Pride Flag from Widget Board in Windows 11

    June 2, 2023

    How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

    June 2, 2023
    Facebook Twitter Instagram
    GeekerMag
    • Home
    • Windows
      1. Windows 11
      2. Windows 10
      3. View All

      How to Remove Pride Flag from Widget Board in Windows 11

      June 2, 2023

      How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

      June 2, 2023

      How to Disable ‘Recommended Websites’ Ads in Windows 11 Start menu

      June 2, 2023

      How to Create Virtual Drive (VHD, VHDX) from Windows 11 Settings App

      June 2, 2023

      How to Disable New ‘Bing Search Bar’ on Windows 10 Desktop

      March 17, 2023

      How to Stop Internet Explorer Open/Redirect to Microsoft Edge in Windows 10

      March 6, 2023

      How to Download & Install Intel Unison on Windows 10 PC (Workaround)

      February 21, 2023

      Fix – Microsoft Store Error Code 0xC002001B in Windows 10 While Installing Apps

      May 21, 2022

      Basics of Web development with Node js

      June 6, 2023

      How to Remove Pride Flag from Widget Board in Windows 11

      June 2, 2023

      How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

      June 2, 2023

      How to Disable ‘Recommended Websites’ Ads in Windows 11 Start menu

      June 2, 2023
    • Browser
      1. Microsoft Edge
      2. Google Chrome
      3. Firefox
      4. View All

      How to Disable Bing Chat Shopping Suggestions & Prompts in Microsoft Edge

      May 25, 2023

      How to Turn ON ‘Edge for Gamers’ Feature for Enhanced Gaming Experience

      May 14, 2023

      How to Try New Microsoft Edge Look with Round Corners (2023)

      May 6, 2023

      How to Use Bing Chat Integration in Edge (Right-click) Mini Menu

      April 30, 2023

      Fix – Opening Chrome opens Default App Settings in Windows 11/10

      May 1, 2023

      How to Enable and Use Chrome Hidden Reader Mode (2023)

      April 9, 2023

      How to Use New Bing Chat Mode in Google Chrome

      March 15, 2023

      How to Disable Windows 10 Upgrade Prompt in Google Chrome – 2023 Guide

      February 2, 2023

      How to Automatically Reject All Cookies Banner on Sites in Firefox

      December 23, 2022

      How to Install Firefox v100 in Windows 7

      April 9, 2022

      How to Enable Close Tab Warning in Firefox 94

      October 27, 2021

      How to Restore Missing View Image Info Option in Firefox

      September 2, 2021

      Basics of Web development with Node js

      June 6, 2023

      How to Remove Pride Flag from Widget Board in Windows 11

      June 2, 2023

      How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

      June 2, 2023

      How to Disable ‘Recommended Websites’ Ads in Windows 11 Start menu

      June 2, 2023
    • Gaming

      Fix – Avast Antivirus Blocking or Disconnecting League of Legends

      May 4, 2023

      5 Cool Puzzle and Brain Teaser Games

      November 24, 2022

      4 Alternatives to Microsoft Solitaire You Should Try 

      June 29, 2022

      5 Best Equipment to Stream Your Game Live [Logitech, Tonor & so on..]

      April 6, 2022

      Twitch Set to Offer Income Incentives to Help Level the Playing Field

      March 9, 2022
    • Best Of

      How to Find Someone Online using their Picture

      April 5, 2023

      Lasta Review: Can This App Aid in Weight Loss?

      April 5, 2023

      How to Create Stunning Visuals for Instagram in 2023

      March 23, 2023

      How to Teach your Child to Program in Python

      January 30, 2023

      What Should You Look at Before Choosing Automatic Captioning Software?

      April 20, 2022
    • How to

      Convert HEIC to JPG without Losing Quality Online for Free

      May 8, 2023

      How to Know Someone Is Lying to You Online

      April 25, 2023

      How to Add Text Box to PDF on Mac? Three Effective Ways

      April 18, 2023

      How to Recover Data From SD Card Using Recuva

      April 17, 2023

      Upgrading from Windows 7 to Windows 10: How to Keep Your Data Safe‍

      March 20, 2023
    GeekerMag
    Home»Windows 11»How to Install Windows Sandbox in Windows 11/10 Home Edition
    Windows 11

    How to Install Windows Sandbox in Windows 11/10 Home Edition

    By Viney DhimanApril 10, 2023Updated:April 10, 20231 Comment5 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    PC Repair and Driver Updater Recommended for Fixing Issues and Updating Drives on Windows PC. Trusted by Millions.

    If you’re running the Home edition of Windows 11 and Windows 10 and would like to install Windows Sandbox on your PC, then this blog post is dedicated to you.

    Contents show
    What is Windows Sandbox in Windows 11/10
    How to Install Windows Sandbox in Windows 11/10 Home Edition
    Remove Windows Sandbox from Windows 11/10
    Windows Sandbox fails to initialize error

    What is Windows Sandbox in Windows 11/10

    Windows Sandbox is a nifty feature that creates an isolated environment to run untrusted software, test potentially harmful applications, or browse the internet securely. It creates a temporary virtual machine that runs a separate instance of Windows OS without affecting the user’s system.

    Once the user finishes testing or browsing, the sandbox is closed, and all files and data created within it are deleted, ensuring no lasting impact on the system.

    Windows Sandbox is an essential tool for developers, IT professionals, or anyone who wants to evaluate new software without the risk of infecting their system with malware.

    Windows Sandbox is only available in the Pro, Enterprise, and Education editions of Windows 11 and Windows 10, and unavailable in the Home edition.

    For Home Edition users, the only option is to upgrade to any of the supported editions to get access to Windows Sandbox, which will cost you more.

    How to Install Windows Sandbox in Windows 11/10 Home Edition

    What if I say it’s possible to access Windows Sandbox in Windows 11 and Windows 10 Home Edition? It will be great right? Let’s learn how to do that:

    Before you start, I would like to tell you that, the solution discussed in this blog post, will only work if your PC meets the minimum requirements to Access Windows Sandbox which are as follow:

    • PC must have a minimum of 4 GB RAM, although it is recommended to have 8 GB or more RAM for better performance.
    • PC must have at least 1 GB of free disk space, and it is recommended to have an SSD for better performance.
    • The computer’s BIOS must have virtualization enabled. Check this post on How to Check if Virtualization is enabled on PC.
    • PC must have at least two CPU cores, but it is recommended to have four cores with hyperthreading for better performance.

    If you made upto this part of the video, I presume that your PC meets minimum requirements to run Windows Sandbox. So lets learn the steps:

    Right-click on the desktop and then select New > Text documents. The new text document will be created.

    create a new text document in windows 11

    Open the text file and copy-paste this code:

    @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 )
    
    :UACPrompt
    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
    "%temp%\getadmin.vbs"
    exit /B
    
    :gotAdmin
    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0" 
    
    echo Batch was successfully started with admin privileges
    echo .
    cls
    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
    
    pause
    copy-paste bat fil code - windows sandbox

    After that, click on the File and then select Save as.

    Save bat file in windows 11 and windows 10

    Select the location where you want to save the file. Lets save it to desktop.

    Now name the file Sandbox.bat. You need to save the file with .bat extension, else it will not work.

    After that, click on the Save button.

    Save the notepad file with bat extension - windows sandbox

    Now, you will see the Bat file with name Sandbox on the location you have selected.

    Right-click on it and select Run as administrator. When UAC dialog box appear, click Yes to continue.

    Run windows sandbox file with admin right in windows 11

    Instantly, command prompt window will open and start installing files required for the installation of the Windows sandbox feature. The process will take 5-10 minutes.

    Once the process completes, you will be asked to restart your computer, type Y in the command prompt window.

    Sandbox installer restart computer

    After restart, if you search Windows Sandbox, this time it will appear. You can use it the way you want.

    Run Windows Sandbox in Windows 11

    As simple as that!

    Remove Windows Sandbox from Windows 11/10

    At any point you want to disable or uninstall Windows Sandbox, then here’s what you need to do:

    Click on the Search icon and type Turn Windows Feature On or OFF, when it appear in results, click to open it.

    In the Turn Windows Feature ON or OFF window, you need to locate “Windows Sandbox“, and uncheck the box for it.

    Remove Windows Sandbox from Windows 11/10

    Click on OK to apply the changes.

    After that restart your computer and this will remove Windows Sandbox from Windows 11. The process to remove Sandbox from Windows 10 is same.

    Windows Sandbox fails to initialize error

    In case, instead of opening it shows a error message i.e. Windows sandbox fails to initialize, then its highly possible that, your PC lack system requirements to run Windows Sandbox.

    Windows sandbox fails to initialize

    Unfortunately, there’s no solution available for fix the issue, if this dialog box appear, after installation of Windows Sandbox using this method.

    According to various reports from the users usually this error appear when your PC lack Virtualization feature and trying to install it on virtual machine. So make sure its enabled and working properly.

    Following the same procedure, you can install Windows Sandbox on Windows 10 as well.

    • Create Sandbox.bat file,
    • Run the bat file.
    • Once installation completes, restart your computer.
    windows sandbox windows 10

    And you’re good to go.

    By following the steps outlined in this blog post, you can easily enable and set up Windows Sandbox on your Windows 11 and Windows 10 PC. If you have any query feel free to share in the comments.

    Donate on Paypal or Buy us a coffee or Join Patreon if you find the information shared in this blog post useful. Mention ‘Coffee’ in the Subject. So that I can thank you.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Viney Dhiman
    • Website
    • Facebook
    • Twitter
    • Instagram
    • LinkedIn

    Himachali, Mechanical Engineer, Snooker Lover, Avid drinker of Scotch, Traveler, and Webmaster.

    Related Posts

    How to Remove Pride Flag from Widget Board in Windows 11

    June 2, 2023

    How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

    June 2, 2023

    How to Disable ‘Recommended Websites’ Ads in Windows 11 Start menu

    June 2, 2023

    How to Create Virtual Drive (VHD, VHDX) from Windows 11 Settings App

    June 2, 2023
    View 1 Comment

    1 Comment

    1. spacebar clicker on May 17, 2023 1:06 pm

      Taking into account your skills, interest and experience, decide which category and level is appropriate for you

      Reply

    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Recommend App

    Free HEIC to JPG Converter Online

    Fix Windows Issues

    Use OutByte PC Repair and OutByte Driver Updater. Recommended for Fixing Issues and Updating Drives on Windows PC. Trusted by Millions.

    Need Support?

    Please do not hesitate to Contact me on Twitter or Join Facebook Group if you want assistance with issue related to Windows 11, Windows 10, and Edge browser. I will try my best to assist you ASAP. (Follow me first and then PM your issue on Twitter)

    Our Picks

    How to Remove Pride Flag from Widget Board in Windows 11

    June 2, 2023

    How to Enable Dark Mode in Paint App in Windows 11 22H2 (Right Now)

    June 2, 2023

    How to Disable ‘Recommended Websites’ Ads in Windows 11 Start menu

    June 2, 2023

    How to Create Virtual Drive (VHD, VHDX) from Windows 11 Settings App

    June 2, 2023
    Help Us Grow!

    Donate on Paypal or Buy us a coffee or Join Patreon if you find the information shared in this blog post useful. Mention ‘Coffee’ in the Subject. So that I can thank you

    Facebook Twitter YouTube
    • About
    • Contact
    • Privacy Policy
    • TOC
    © 2023 All Rights Reserved | GeekerMag

    Type above and press Enter to search. Press Esc to cancel.