SbieSvc Cleanup

Ideas for enhancements to the software
Post Reply
Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 621
Joined: Fri Nov 13, 2015 4:11 pm

SbieSvc Cleanup

Post by Syrinx » Thu Aug 17, 2017 10:57 am

Related to the Lingering SbieSvc thread I had going.

Might it be possible for SbieCtrl or some other component to check for a related SbieSvc.exe (eg by boxname) in the wait state and send a terminate command when the related box is empty or in the closing/deleting phase?

These lingering instances have the same username as that which the program was launched with. As such I don't guess there should be many potential permission issues. This would allow the behavior to remain the same, so that such processes aren't being created and killed constantly, but also allow Sandboxie to cleanup after itself in this scenario as it normally does in others.

Update: Thought about this a bit more and realized I could sortof do this myself already. While it'd be nice for sandboxie to do the check itself to properly clean up...I created some small .bat files and added them under DeleteCommand= for the trouble boxes. I can finally have a clean system with no lingering SbieSvcs or needing to manually check for and kill them.

Example:

Code: Select all

rmdir %1 /q /s
wmic process where "commandline like '%%_DefaultBox_%%'" call terminate
http://goo.gl/p8qFCf
https://www.youtube.com/watch?v=vIxWgVOCexU

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 621
Joined: Fri Nov 13, 2015 4:11 pm

Re: SbieSvc Cleanup

Post by Syrinx » Thu Aug 17, 2017 3:25 pm

Was hoping to edit but it has timed out. I decided on a slightly more detailed one instead just as a precaution:

Code: Select all

rmdir %1 /q /s
wmic process where "commandline like '%%Sandboxie_ComProxy_%%_DefaultBox_%%'" call terminate
P.S: Is there a DenialOfService attack under way or something? I keep getting an sql error (Too many connections [1040]) and even when it does load it is slow!
http://goo.gl/p8qFCf
https://www.youtube.com/watch?v=vIxWgVOCexU

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2671
Joined: Mon Nov 07, 2016 3:10 pm

Re: SbieSvc Cleanup

Post by Barb@Invincea » Thu Aug 17, 2017 5:14 pm

Syrinx,

Thank you for the contribution.
I will pass it along to the devs and we'll update this thread if anything comes up.

Regards,
Barb.-

PS: We were having some issues with the server, but they were corrected and the forums should be working fine now.

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 621
Joined: Fri Nov 13, 2015 4:11 pm

Re: SbieSvc Cleanup

Post by Syrinx » Thu Aug 17, 2017 9:05 pm

Drunk TRANSLATION..muahaha: []

Syrinx, [Yo]

Thank you for the contribution. [LEAVE US ALONE, geez]
I will pass it along to the devs and we'll update this thread if anything comes up. [We're going to try and ignore you while attempting to be polite about it.]

Regards, [haha what did you expect fool]
Barb.-

PS: We were having some issues with the server, but they were corrected and the forums should be working fine now. [You weren't supposed to see that so just shut up and act like it didn't happen.]
http://goo.gl/p8qFCf
https://www.youtube.com/watch?v=vIxWgVOCexU

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest