Skip to content

2. Installation, customization and usage

unrooted edited this page Aug 18, 2022 · 1 revision

Enable Sandbox feature

If you haven't already enabled the Sandbox feature on your Windows system, instead of looking it up on the internet, run enableSandboxFeature.ps1 located in .\Utils\Scripts\OnHost as an administrator

Usage

Once you have Sandbox feature enabled, you can just double-click .wsb directly in File Explorer. You will jump into an Isolated Windows Environment which utilizes Hyper-V components.

By default, .\Files and .\Utils with their content are mapped into the Sandbox.

You can use .\Files in order to put files you want to tinker with onto the Sandbox.

Customization

If you want to look for other Windows Sandbox configuration options, an entry from Microsoft Docs here might help you.

You can use .ps1 scripts from .\Utils\Scripts\OnHost directory, they will place some basic tooling into .\Utils\Toolkits directory, which is later on mapped onto the Sandbox. This can also be done by-hand, adding whatever you need in here. Besides from pre-made scripts, most PowerShell stuff should 'just work'.

Clone this wiki locally