Skip to content

Instantly share code, notes, and snippets.

@RedTahr
Created January 26, 2021 04:05
Show Gist options
  • Save RedTahr/0be717f95dc6435e1643cfc607da5212 to your computer and use it in GitHub Desktop.
Save RedTahr/0be717f95dc6435e1643cfc607da5212 to your computer and use it in GitHub Desktop.
sandbox config to install and start custom apps and tools and map network drives

sandbox config file

sandbox.wsb

Default Default C:\Users\redtahr\Downloads\tools-for-windows-sandbox true C:\Users\WDAGUtilityAccount\Desktop\tools-for-windows-sandbox\sandbox-install.cmd

sandbox startup cmd

REM Download VSCode REM curl -L "https://update.code.visualstudio.com/latest/win32-x64-user/stable" --output C:\users\WDAGUtilityAccount\Desktop\vscode.exe

REM Install and run VSCode REM C:\users\WDAGUtilityAccount\Desktop\vscode.exe /verysilent /suppressmsgboxes

REM mount the Sysinternals SMB share - this can take a moment, have a local copy in your mapped folder for faster startup REM net use S: \live.sysinternals.com\tools

REM install Fiddler C:\Users\WDAGUtilityAccount\Desktop\tools-for-windows-sandbox\FiddlerSetup.exe /S

references

https://www.thomasmaurer.ch/2019/05/how-to-configure-windows-sandbox/ https://techcommunity.microsoft.com/t5/windows-kernel-internals/windows-sandbox-config-files/ba-p/354902?WT.mc_id=thomasmaurer-blog-thmaure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment