Advertisement

Add Run in Sandbox Context Menu in Windows 10

How to Add Run in Sandbox Context Menu in Windows 10

Windows Sandbox is an isolated, temporary, desktop environment where you can run untrusted software without the fear of lasting impact to your PC. To run a specific app in Windows Sandbox faster, you can add a special entry to the right-click menu of Windows 10.

Windows Sandbox Screenshot Open
Any software installed in Windows Sandbox stays only in the sandbox and cannot affect your host. Once Windows Sandbox is closed, all the software with all its files and state are permanently deleted.

Windows Sandbox has the following properties:

Advertisеment

  • Part of Windows – everything required for this feature ships with Windows 10 Pro and Enterprise. No need to download a VHD!
  • Pristine – every time Windows Sandbox runs, it’s as clean as a brand-new installation of Windows
  • Disposable – nothing persists on the device; everything is discarded after you close the application
  • Secure – uses hardware-based virtualization for kernel isolation, which relies on the Microsoft’s hypervisor to run a separate kernel which isolates Windows Sandbox from the host
  • Efficient – uses integrated kernel scheduler, smart memory management, and virtual GPU

Run in Sandbox

The Run in Sandbox software add new commands to File Explorer context menu for a number of file extension. After install it, all you need to do is to right-click on the supported file type and select Run in Sandbox from the menu.

The software is actually a PowerShell script, and it doesn't install and activate the Windows Sandbox feature automatically. You have to do it manually, as described here:

After that, you can add the new context menu as follows.

To Add Run in Sandbox Context Menu in Windows 10,

  1. Download the latest version from the developer's GitHub project site. Click on Code > Download Zip.
  2. Unblock the downloaded file.
  3. Extract the contents to any folder.
  4. It defaults to French language. Edit the .\Sources\Run_in_Sandbox\Sandbox_Config.xml file to use the language code you want, e.g. set en-us for English.
  5. In that folder, click on File > Open Windows PowerShell > Open Windows PowerShell as Administrator in File Explorer.
  6. 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 AllSignedRun In Sandbox Install
  7. Now, right-click on some executable file. You'll see the Run in Sandbox entry.Run In Sandbox Installationen Direkt Ueber Das Kontextmenue Starten Windows Sandbox 002

You will get the selected app running in Sandbox with one click!

Run In Sandbox Installationen Direkt Ueber Das Kontextmenue Starten Windows Sandbox 004

More on Windows Sandbox

Windows Sandbox Group Policies

Thanks to Ghacks and Deskmodder.de for the tip.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “Add Run in Sandbox Context Menu in Windows 10”

  1. You really should mention that it defaults to French language unless you edit the .\Sources\Run_in_Sandbox\Sandbox_Config.xml file to use the language code you want (probably en-us for most readers). It says to do this in the readme on the Github page, shame on me for not examining it closer and just running the instructions provided here.

    If one doesn’t do that first, one will have a long string of French in their right-click menu until they go into the regedit and delete all the keys (there are quite a few). For those who already made this mistake, you can search in regedit for Exécuter, delete all the keys you find, then search for Partager, and delete those as well.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.