Sandbox refuses to delete content. Code "5"

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
DangUser
Posts: 6
Joined: Thu Aug 11, 2016 2:34 pm

Sandbox refuses to delete content. Code "5"

Post by DangUser » Sun Dec 25, 2016 6:55 pm

There are two possible reasons for that error:

1. The Update from Sandboxie to the latest version 5.16 caused this.
> I tried to reinstall, completely deinstall the app, but maybe some deep registry entries still remained..
2. The update from my browser Vivaldi to the latest version 1.6.689.40 caused this.
> Haven't tried to reinstall the app (yet).

The most important thing is, that I cannot delete the content of my sandbox any longer.
Like the title already says, it always gives me the error code "5", "System error", and sth like there are still files and folders in usage. This error causes Vivaldi to break most of the installed addons, too.

EDIT: I created an additional, new sandbox. No errors like this so far.

bo.elam
Sandboxie Guru
Sandboxie Guru
Posts: 2809
Joined: Wed Apr 22, 2009 9:17 pm

Re: Sandbox refuses to delete content. Code "5"

Post by bo.elam » Sun Dec 25, 2016 10:57 pm

DangUser wrote:There are two possible reasons for that error:

.....

The most important thing is, that I cannot delete the content of my sandbox any longer.
Like the title already says, it always gives me the error code "5", "System error", and sth like there are still files and folders in usage.
Thats not an usual message. Usually its your antivirus that causes it.

The solution is to reboot the PC, afterward you ll be able to delete contents.

Bo

DangUser
Posts: 6
Joined: Thu Aug 11, 2016 2:34 pm

Re: Sandbox refuses to delete content. Code "5"

Post by DangUser » Tue Dec 27, 2016 7:36 am

bo.elam wrote:
DangUser wrote:There are two possible reasons for that error:

.....

The most important thing is, that I cannot delete the content of my sandbox any longer.
Like the title already says, it always gives me the error code "5", "System error", and sth like there are still files and folders in usage.
Thats not an usual message. Usually its your antivirus that causes it.

The solution is to reboot the PC, afterward you ll be able to delete contents.

Bo

Yes, I was thinking about the same thing.
Rebooting didn't help, though.

I solved it by manually exiting the sandboxie app and service "SbieCtrl.exe" & "SbieSvc.exe", after that I was able to delete the whole Sandbox folder under C: manually.
I'm still not sure why this worked out, but I got it fixed that way, anyway.

sanbox man
Posts: 114
Joined: Tue Oct 27, 2015 7:10 pm

I have same issue: error code 5

Post by sanbox man » Mon Feb 06, 2017 5:15 am

DangUser wrote: I solved it by manually exiting the sandboxie app and service "SbieCtrl.exe" & "SbieSvc.exe",
after that I was able to delete the whole Sandbox folder under C: manually.
I'm still not sure why this worked out, but I got it fixed that way, anyway.
I would like to try manual method too.
DangUser wrote: I solved it by manually exiting the sandboxie app
By this you mean just exit the program all together like for example
right click the SBIE icon in the Windows Taskbar and exit?
DangUser wrote: I solved it by manually exiting [the]... service "SbieCtrl.exe" & "SbieSvc.exe",
To exit from service "SbieCtrl.exe" & "SbieSvc.exe"
Should I do that from under C: Program Files/sandboxie .
I can see "SbieCtrl.exe" & "SbieSvc.exe" both there.
How do you actually 'exit' them?
DangUser wrote:after that I was able to delete the whole Sandbox folder under C: manually.
By manually you mean the last step is just go to Windows Taskbar,
right-click SBIE icon and click delete contents?
64 bit Windows 8.1, McAfee, ReHIPS 2.2,

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

Re: Sandbox refuses to delete content. Code "5"

Post by Barb@Invincea » Wed Feb 08, 2017 12:42 pm

Hello sanbox man,

To manually delete the contents of a Sandbox (if normal methods fail), you can navigate your hard drive to where the Sandbox is located and manually delete the contents inside of it (just as if you were deleting files from your pc). The typical location for a Sandbox is : C:\Sandbox\Username\Sandbox Name

To stop a Service in Windows type "services" in the search bar, run it as Administrator, find the Service that you want to stop, right-click on it --> stop .
Once you finish doing what you want to do , restart the service (right-click start).

What issues are you experiencing?
Before trying to manually delete contents, please right-click on your Sandbox --> Terminate programs.
Right-click again, Delete contents
See if that helps.

Regards,
Barb.-

sanbox man
Posts: 114
Joined: Tue Oct 27, 2015 7:10 pm

Re: Sandbox refuses to delete content. Code "5"

Post by sanbox man » Fri Feb 10, 2017 2:22 am

Hello sanbox man,
I looked in C:Program Files\Sandboxie

Please look one step before Program Files, under C:\Sandbox

If you have set a different location for your container folder, then you will have to look in that location instead.
To check, open Sandboxie Control ---> Sandbox ---> Set Container Folder
This will show you the location of your Sandboxes ( by default C:\Sandbox\%USER%\%SANDBOX%).

We have a thread for that particular error, please have a look:
http://forums.sandboxie.com/phpBB3/view ... 11&t=23521

Regards,
Barb.-
64 bit Windows 8.1, McAfee, ReHIPS 2.2,

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

Re: Sandbox refuses to delete content. Code "5"

Post by Barb@Invincea » Fri Feb 10, 2017 9:49 am

Hello sanbox man,

For whatever reason, I ended up editing your post instead of replying (you can see it above this one).
Sorry for the mess. I cannot get your response back, but my answer covers your questions regarding the location of the Sandboxes (which you couldn't find) and I added a link to a thread related to the problem that you are experiencing.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest