- create folder C:\SandBoxShare
- put both wsb and bat files there
- edit batch file and add more desired packages to choco install line
- doubleclick wsb and let's it be opened with WindowSandbox
- it will start the sanbox and the bat file inside of the the sandbox
- choco will install needed packages
- note SandBoxShare on the desktop of virtual machine, it corresponds to the C:\SandBoxShare foldr of the host machine
- wait for choco to finish all the installations
- enjoy
https://www.howtogeek.com/411402/how-to-configure-the-windows-sandbox/ https://techcommunity.microsoft.com/t5/windows-kernel-internals/windows-sandbox/ba-p/301849