SBIE2224 when using different drive for an application [SOLVED]

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
topino
Posts: 3
Joined: Fri Sep 15, 2017 7:18 am

SBIE2224 when using different drive for an application [SOLVED]

Post by topino » Fri Sep 15, 2017 8:16 am

Hi,

I have a personal license (lifetime bundle for 3) of sandboxie. This is my setup

OS: Windows 10 pro x64
Sandoxie: Sandboxie Version 5.20 (64-bits)
Program: latest version of dxwnd
Antivirus: Windows Defender

I have an SSD on the C drive and HDD on the D drive. I have this configuration

Code: Select all


[GlobalSettings]

ActivationPrompt=n
FileRootPath=C:\Sandbox\%SANDBOX%

[Box1]

Enabled=y
ConfigLevel=7
AutoRecover=y
BlockNetworkFiles=y
BorderColor=#00FFFF,ttl
NotifyInternetAccessDenied=n
ClosedFilePath=InternetAccessDevices

[Box2]

FileRootPath=D:\Sandbox\%SANDBOX%
Enabled=y
ConfigLevel=7
AutoRecover=y
BlockNetworkFiles=y
BorderColor=#00FFFF,ttl
NotifyInternetAccessDenied=n
ClosedFilePath=InternetAccessDevices

The only difference between the two boxes is Box1 uses the default C drive to store its content while Box2 uses D drive to store its content.

I got a program called dxwnd from this site. This program basically forces fullscreen programs to run in windowed mode.

I tried to start the program in Box1 and it works great. Then I tried to start this program in Box2 and it gives me this error:

Code: Select all

SBIE2224 Sandboxed program has crashed: dxwnd.exe [Box2]
Any solution for this problem? I'd like to use Box2 because the D drive is an HDD.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 1830
Joined: Mon Nov 07, 2016 9:10 pm

Re: SBIE2224 when using different drive for an application.

Post by Barb@Invincea » Fri Sep 15, 2017 5:24 pm

Hello topino,

I tested the scenario using Default Sandboxes (one on my C: drive, another one of my E: drive), and I was not able to repro the issue.

Can you please create a new Sandbox with default settings (on your HDD) and see if you can run the program there?

Also, do other programs work in your HDD sandbox?

Regards,
Barb.-

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 613
Joined: Fri Nov 13, 2015 10:11 pm

Re: SBIE2224 when using different drive for an application.

Post by Syrinx » Fri Sep 15, 2017 5:47 pm

I'd recommend checking the NTFS permissions for the sandbox folder and change them if needed for the one added to d:\
I'm not allowed to say certain things, ah! You want to point your finger but there's no one else to blame. You're guilty all the same!

topino
Posts: 3
Joined: Fri Sep 15, 2017 7:18 am

Re: SBIE2224 when using different drive for an application.

Post by topino » Sat Sep 16, 2017 5:47 pm

Syrinx wrote:
Fri Sep 15, 2017 5:47 pm
I'd recommend checking the NTFS permissions for the sandbox folder and change them if needed for the one added to d:\
Oh about the NTFS, I remembered that my D drive is ReFS (the new file system for Windows 10). Could it be the cause of the issue?


MERGED POST
Barb@Invincea wrote:
Fri Sep 15, 2017 5:24 pm
Hello topino,

I tested the scenario using Default Sandboxes (one on my C: drive, another one of my E: drive), and I was not able to repro the issue.

Can you please create a new Sandbox with default settings (on your HDD) and see if you can run the program there?

Also, do other programs work in your HDD sandbox?

Regards,
Barb.-
The file system on D drive is ReFS (as I said in my last comment) but I never had an issue with other programs and the program seems to work outside the sandbox in the D drive.
Last edited by Barb@Invincea on Mon Sep 18, 2017 3:07 pm, edited 1 time in total.
Reason: Duplicate posting.

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 1830
Joined: Mon Nov 07, 2016 9:10 pm

Re: SBIE2224 when using different drive for an application.

Post by Barb@Invincea » Thu Sep 28, 2017 5:01 pm

Hello topino,

I finally got a chance to create an ReFS pool and test this behavior. The test was conducted using Win 10 CU + the latest beta:
viewtopic.php?f=62&t=24741 - No security software involved, other than Windows Defender.

I created 2 VHDX drives and merged them (Created a pool) using ReFS system, two-way mirror.
I created a Sandbox that stores its data in the ReFS drive and successfully downloaded and launched dxwnd Sandboxed.
I also tested launching apps from other drives in that same Sandbox, no issues.

Do other applications from your ReFS drive run in the Sandbox?
Did you test creating a new Sandbox with default settings?

Regards,
Barb.-

topino
Posts: 3
Joined: Fri Sep 15, 2017 7:18 am

Re: SBIE2224 when using different drive for an application.

Post by topino » Sat Oct 07, 2017 4:11 am

Barb@Invincea wrote:
Thu Sep 28, 2017 5:01 pm
Hello topino,

I finally got a chance to create an ReFS pool and test this behavior. The test was conducted using Win 10 CU + the latest beta:
viewtopic.php?f=62&t=24741 - No security software involved, other than Windows Defender.

I created 2 VHDX drives and merged them (Created a pool) using ReFS system, two-way mirror.
I created a Sandbox that stores its data in the ReFS drive and successfully downloaded and launched dxwnd Sandboxed.
I also tested launching apps from other drives in that same Sandbox, no issues.

Do other applications from your ReFS drive run in the Sandbox?
Did you test creating a new Sandbox with default settings?

Regards,
Barb.-
Hi Barb,

Ok, so apparently the issue has nothing to do with ReFS. I am sorry for having to put you with all the work of testing my issue.

I tried a new sandbox with new settings and settings copied from Box2 and both didn't have an issue. I moved every Windows related folder in Box2 to an outside location and the program started working. Then I started putting everything back one by one and narrowed it to this file

Code: Select all

C:\Windows\SysWOW64\user32.dll
So I copied the unsandboxed version of this file into Box2 and there was no issue. I compared the 2 files (md5 checksum) and they are different. There is a digital signature for these dll files. The old one is from March 18, 2017 while the new one is from September 5, 2017.

I think the issue I had is that another application I was using in Box2 wanted to use user32.dll and sandboxed it. Windows 10 updates updated user32.dll. Meanwhile, Box2 was using the old sandboxed one which was causing the application to crash.

Is there a way for Sandboxie to auto-delete or update OS files or should I do it manually every once in a while?

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 1830
Joined: Mon Nov 07, 2016 9:10 pm

Re: SBIE2224 when using different drive for an application.

Post by Barb@Invincea » Mon Oct 09, 2017 6:22 pm

Hello topino,
Is there a way for Sandboxie to auto-delete or update OS files or should I do it manually every once in a while?
You have 2 options when it comes to deleting the contents of your Sandbox:
1 - Manually delete its contents as needed.
2 - Set it up to auto-delete.

For details, please see this entry:
https://www.sandboxie.com/GettingStartedPartFive

We recommend that you delete the contents of your Sandbox after you are done using it, or after making changes to your computer, such as updating the OS, or a browser.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests