I'm trying to close or terminate a single program inside a sandbox that has multiple programs running via a start command. The only commands listed in the sandboxie help page are
"C:\Program Files\Sandboxie\Start.exe" /terminate
"C:\Program Files\Sandboxie\Start.exe" /box:TestBox /terminate
however these commands will terminate every program in a sandbox rather than a specific one. I was hoping for something to exist such as
"C:\Program Files\Sandboxie\Start.exe" /box:TestBox /terminate notepad.exe
that would close just notepad.exe and leave the other programs running.
Is this currently possible via any means?
Close SPECIFIC program inside a sandbox [SOLVED]
-
- Sandboxie Support
- Posts: 2337
- Joined: Mon Nov 07, 2016 3:10 pm
Re: Close SPECIFIC program inside a sandbox rather than ALL
Hello xago,
You can right-click on the program under Sandboxie Control and select "Terminate Program".
From a Sandboxed command prompt you can use taskkill, here's an example:
taskkill /f /im notepad.exe
Regards,
Barb.-
You can right-click on the program under Sandboxie Control and select "Terminate Program".
From a Sandboxed command prompt you can use taskkill, here's an example:
taskkill /f /im notepad.exe
Regards,
Barb.-
-
- Posts: 17
- Joined: Fri Jan 20, 2017 8:49 pm
Re: Close SPECIFIC program inside a sandbox rather than ALL
Hi, hopefully this'll help.
Assumed sandbox name:
Assumed sandbox name:
BOXpad
Code: Select all
"C:\PROGRAM FILES\SANDBOXIE\Start.exe" /box:BOXpad "notepad.exe"
Code: Select all
"C:\PROGRAM FILES\SANDBOXIE\Start.exe" /box:BOXpad /wait cmd /c & "C:\PROGRAM FILES\SANDBOXIE\Start.exe" /box:BOXpad taskkill /f /im notepad.exe
Sunshine in a box, for when the storm hits.
Re: Close SPECIFIC program inside a sandbox rather than ALL
Thanks, taskkill works just fine
Who is online
Users browsing this forum: No registered users and 1 guest