Microsoft introduced the Windows Sandbox at the end of 2018 to run content administrators in a separate environment so as to avoid damage or changes to the underlying system.
Windows sandbox is available on all Pro 10 versions of Windows 1903 from 10 onwards, but Windows XNUMX Home administrators can 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 need to do is run a supported file type in sandbox is to 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 "Turning Windows features on or off". Find “Windows sandbox”And turn it on.
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 when 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.