Add Run in Sandbox to the Windows 10 menu

Run in is a useful PowerShell script that administrators can use 10 to add an option that allows them to run executables, zip files and scripts, in the Windows 10 sandbox.

Microsoft introduced it Windows Sandbox in late 2018 for administrators to run in a separate environment to avoid damage or changes to the underlying system.
Windows Sandbox is available on all Pro editions of Windows 10 from 1903 and later, but Windows 10 Home administrators can also add it to their systems. See this guide that explains how you can do this.

Run in Sandbox adds shortcuts for different file types to the Windows 10 File Explorer menu. Once installed, all you have to do to run a supported file type in the sandbox is right-click on it and select “run in sandbox ”.

The main requirement for the script is that Windows Sandbox should already be installed on the system. You can add the test environment by searching for “Enable or disable the of Windows” (turn Windows features on or off). Find “Windows Sandbox” and enable it.

Sandbox

To install Run in Sandbox, do the following:

Download the latest version script from GitHub of the developer, e.g. select Code - Download Zip
Extract the file to your system and open the folder.
Open PowerShell as an administrator in the folder that contains the script.
Run the following commands with PowerShell and select Y whenever prompted.

Set-ExecutionPolicy Unrestricted. \ Add_Structure.ps1 Set-ExecutionPolicy AllSigned

The script will add the entries to the menu.

Note: When I tried it on an English system Windows 10 Pro version 2004, I noticed that it added French menu entries instead of English. This is probably a mistake but easy enough to understand.

Run in Sandbox supports PS1, VBS, MSI, and EXE files. Creates a WSB file when you select Run in Sandbox from the menu and the sandbox runs automatically.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).