sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.68k stars 1.52k forks source link

Sandboxie Classic does not offer to delete the obsolete templates as in the Plus edition #413

Open Ralph423 opened 3 years ago

Ralph423 commented 3 years ago

Hello,

I upgraded from version 5.46.2 to 5.46.4 and get SBIE1411 pop up for all sandboxes

Capture

isaak654 commented 3 years ago

It's not a bug, you should manually delete any template=WindowsFontCache, template=Windows10CoreUI, Template=FireFix_for_Win7 reference from your C:\Windows\Sandboxie.ini

The developer introduced a new cleanup functionality in Plus UI, but not in the classic Sandboxie edition.

Ralph423 commented 3 years ago

Thank you.

NewKidOnTheBlock commented 3 years ago

I'm reading all the changelogs and I didn't know that :/ There is also Template=FireFix_for_Win7 that seems to be superfluous now.

Under [GlobalSettings] there are 5 default Templates now:

Template=7zipShellEx
Template=WindowsRasMan
Template=WindowsLive
Template=AdobeAcrobatReader
Template=OfficeLicensing

And in a fresh Sandbox there are 6 default templates:

Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore

I recommend deleting any leftover templates.

isaak654 commented 2 years ago

I'm going to reopen this issue to request the extension of the clean-up functionality for Sandboxie Classic as well.


template_cleanup

DavidXanatos commented 2 years ago

I'm thinking about an other approach, how about just sideline dropping missing templates, may be except local user created templates. And perhaps only in the plus UI when you open the sandbox options check templates and show a pop up offering to remove them. But no longer issue a SBIE message when a unknown template is encountered while parsing sandboxie.ini

isaak654 commented 2 years ago

Silent removal of missing templates in Classic edition (except the local ones created by users) seems quite reasonable, and could be performed before issuing SBIE1411 (triggered if the silent clean-up goes wrong).

And perhaps only in the plus UI when you open the sandbox options check templates and show a pop up offering to remove them.

I think it could be worth it.

RandomGOTI commented 2 years ago

software compatibility has the remove old settings button but only works for old TemplateReject can't that feature be extended to missing templates aswell ? and drop the Deprecated "section" in templates.ini ?