Auto start a specific program when starting a sandbox instance

With Sandboxie-Plus you can configure triggers on some states of the sandboxing procedure, including upon starting something the sandbox.

Sandbox Options > Advanced Options > [Triggers]

You have to use the "On Box Start" and can set some program to start, like explorer.exe or something else.

This will add "StartProgram=C:\path_to_someapp\someapp.exe" to the ini section of the sandbox. This needs to be repeated per sandbox.

If you want to start something every time you boot, you can either use the force feature, or use start.exe to start something in a sandbox you defined.
 
The [Triggers] method works, thank you, but every time has to go down the menu level to start.
I tried looking for shortcuts, but does not seem to support that. Is there a cmd template I can use to start a series of instances?
 
Is there a cmd template I can use to start a series of instances?

I am not aware of there being a template for it.

I might not be technically experienced enough to help you further, but maybe you can describe what you are attempting to achieve and someone (maybe even me) can help you to get there.
 
I need a cmd file that can start 4 instances at a time, along with the application to start inside the instance, and place them in a specific window workspace (or whichever order come first). This way I could just start the cmd file, and all 4 instances will be opened. Then, place each instance in a 2 x 2 WindowGrid box area (something entirely irrelevant to sandboxie, but will have to figure out how to do from the script.
 
need a cmd file that can start 4 instances

4 instances of what?

If you talk about four instances of sandboxes provided by Sandboxie, you create four sandboxes, BoxA, BoxB, BoxC, BoxD.

You can use
Code:
"C:\Program Files\Sandboxie-Plus\Start.exe" /box:BoxA Fullpathtothebinary
"C:\Program Files\Sandboxie-Plus\Start.exe" /box:BoxB Fullpathtothebinary
"C:\Program Files\Sandboxie-Plus\Start.exe" /box:BoxC Fullpathtothebinary
"C:\Program Files\Sandboxie-Plus\Start.exe" /box:BoxD Fullpathtothebinary
to start the same program in four sandboxes.
 
Does this command line activate just the sandboxie instance or the app that is set on the advanced options > Trigger > On Start?
I'm a bit confused because a double-click on instance opens up the advanced options, and it need to right click on the specific instance go down to submenu "Execute Autorun Entries" in order to trigger the app.
 
Does this command line activate just the sandboxie instance or the app that is set on the advanced options > Trigger > On Start?

It is supposed to start the application at the path you enter instead of Fullpathtothebinary. You have to replace that with "C:\Program Files\Mozilla Firefox\firefox.exe" for example.

If something is specified for the trigger "On Start", it is supposed to be started along. As far as I know SandMan.exe needs to be running, for it to act on triggers.
 
Noted. I'll give it a try and update this. I was tinkering on all the trigger options, but there is no way to start an instance with a hotkey or a double click on the instance. So I made a bat file to start it.
 
Last edited:
Back
Top