Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add "Run in Sandbox" options on Windows 10
#1
Lightbulb 
Quote:
[Image: run-in-sandbox-install.png]

Run in Sandbox is a useful PowerShell script that Windows 10 administrators may use to add options to run executable files, zip archives, and scripts, in the Windows 10 sandbox.

Microsoft introduced Windows Sandbox in late 2018 as a way for administrators to run content in its own environment to avoid harm or changes to the underlying system. The Windows Sandbox is available in all professional versions of Windows 10 version 1903 or newer, but Windows 10 Home administrators may add it to Home systems as well; check out this guide that explains how to do that.

Run in Sandbox adds shortcuts for various file types to File Explorer on Windows 10. Once installed, all it takes to run a supported file type in the sandbox is to right-click on it and select the "run in sandbox" option from the context menu.

The main requirement for the script is that Windows Sandbox is installed already on the system. You can add the sandbox by searching for "turn Windows features on or off" and checking the "Windows Sandbox" entry in the Control Panel applet that opens. It is likely that this is going to be moved to the Settings app in the future, but for now, it works.

To install Run in Sandbox, do the following:
  1. Download the latest version from the developer's GitHub project site, e.g. select Code > Download Zip.
  2. Extract the archive on your system and open a File Explorer instance to navigate to the folder.
  3. Select File > Open Windows PowerShell > Open Windows PowerShell as Administrator.
  4. Run the following commands in the PowerShell prompt and select Y whenever you are prompted.
    1. Set-ExecutionPolicy Unrestricted
    2. .\Add_Structure.ps1
    3. Set-ExecutionPolicy AllSigned
The script adds the context menu entries to File Explorer.

Note: When I tested the script on an English Windows 10 Pro version 2004 system, I noticed that it added French menu entries instead of

English ones; this is probably a bug but easy enough to understand.
Run in Sandbox supports PS1, VBS, MSI, and EXE file types at the time of writing. The script creates a WSB file when you select the Run in

Sandbox option from the context menu and the sandbox will be launched automatically afterwards.

Scripts, PS1 and VBS, display two context menu entries instead of one. The first runs the script without any parameters, the second allows you to add parameters.

Closing Words

Run in Sandbox is a useful tool for system administrators, software testers, and other users who like to execute content in a safe environment.

While that is also supported by third-party applications like Sandboxie, it is not always allowed to run these in work environments. The Windows Sandbox offers a way out.

Now You: do you use a sandbox application?
...
Continue Reading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
AV-Comparatives - Real-World Protection ...
Introduction Th...harlan4096 — 09:14
AV-Comparatives - Malware Protection Tes...
AV-Comparatives - M...harlan4096 — 09:10
GFYI [Official] Ashampoo Snap 16 Giveaw...
GIVEAWAY / CONTEST I...jasonX — 06:19
GFYI [Official] VTubeGo Downloader 2004...
GIVEAWAY / CONTEST I...jasonX — 06:19
GFYI [Official] Wise Video Converter Pr...
We are pleased to an...jasonX — 06:17

[-]
Birthdays
Today's Birthdays
avatar (48)fuspeukChark
avatar (42)werriewWaiNg
avatar (36)Freemanleo
Upcoming Birthdays
avatar (43)wapedDow
avatar (47)oapedDow
avatar (40)Sanchowogy
avatar (42)techlignub
avatar (41)Stevenmam
avatar (48)onlinbah
avatar (49)steakelask
avatar (43)Termoplenka
avatar (41)bycoPaist
avatar (47)pieloKat
avatar (41)ilyagNeexy
avatar (49)donitascene
avatar (49)Toligo
avatar (36)RobertUtelt

[-]
Online Staff
There are no staff members currently online.

>