Trust No Program
This topic is locked: you cannot edit posts or make replies.
Can't run any program at all in Sandbox!
IJones
Guest

Reply with quote
Help...

I've just downloaded Sandboxie, however, I can't get ANY program to run in a sandbox. Any program I try, eg Firefox, notepad etc, starts to run and then shuts down. I breifly see a "Dr Watson" error in the sandbox listing before everything stops. The red dots in the Sandboxie icon appear for a few seconds and then disappear.

This is the second machine that I've installed Sandboxie on - the other one works fine.
I've taken out my virus guard, firewall and windows defender. No different.
Uninstalled and re-installed. I even tried the new beta. All the same.
The machine is running fine otherwise. Running XP Home.

Any ideas?
Guest10


Joined: 27 Apr 2008
Posts: 4361
Location: Ohio, USA
Reply with quote
Have you looked at Windows Event Viewer, under both Applications and System, for any red error entries?
Maybe there's a clue there - or maybe not. Confused

_________________
Paul
XP Pro SP3 (Admin rights), Zone Alarm Pro Firewall, Malwarebytes Pro, Firefox 21, Thunderbird 17
View user's profileSend private message
IJones
Guest

Reply with quote
Thanks for the reply. I've had a look - nothing in any of the logs to indicate a problem. I've cleared all the logs and will keep an eye on them though.

Any other ideas?
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
It's most likely a conflict with some other program that you have. Other than virus guard, firewall and windows defender, do you have any other program or utility that might interact with other programs?

If you're willing to be adventurous with this, you can try to use a debugger to see where the crash happens. I've explained the steps needed to do this in some other topic:

http://sandboxie.com/phpbb/viewtopic.php?t=4913

If you can post the debugger output here, it might shed some light on the cause of the conflict.

_________________
tzuk
View user's profileSend private message
Success
IJones
Guest

Reply with quote
Hi,

I think I'm getting somewhere.

Thanks for the info on the Debugger. I've installed and run it and it appeared to indicate a problem with my nvidia display driver dll's.

A number of reboots later, after disabling various items from the registry RUN folder, I think I've found the culprits.

The two files in question are Nwiz and Nview. I assume that these are both associated with the display driver. I'll try updating the drivers later to see if I can run these files again. I can probably live without them though...

Sandboxie now runs as expected - I'm typing this in a sandboxed window.

Any Ideas why these should cause a problem?
Guest10


Joined: 27 Apr 2008
Posts: 4361
Location: Ohio, USA
Reply with quote
Just a comment.
I usually try to limit the number of processes that run at startup, and the 'nwiz' process is one that I have had disabled for quite a while.
Not because I had any problem with it, but just to try to limit the use of resources.

Using the msconfig utility, "Startup" tab, I allow
NvCpl

But do not allow
nwiz
NvMcTray
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Maybe NWIZ and/or NVIEW expect to be able to access some resource in some cases. When they run sandboxed, the resource may be unavailable, and they crash. Try to enable these again, and then use Resource Access Monitor to see if you can identify any NVIDIA resources.

http://www.sandboxie.com/index.php?ResourceAccessMonitor
View user's profileSend private message
IJones
Guest

Reply with quote
Thanks for your help.

I've run the resource monitor, both with and without the Nview & Nwiz tasks running. The one that failes to run correctly in Sandboxie is a much longer report!
Now, I don't really understand what I'm looking for here. Is it OK to post the results here for a little analysis?
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Sure, go ahead.
View user's profileSend private message
IJones
Guest

Reply with quote
Ok. Two listings follow. Both are attempting to open Notepad in a sandboxed window.

First with Nwiz & Nview running. Sandboxie fails to run notepad

(Drive) \Device\CdRom0
(Drive) \Device\CdRom1
(Drive) \Device\Floppy0
(Drive) \Device\Harddisk1\DP(1)0-0+8
(Drive) \Device\Harddisk2\DP(1)0-0+9
(Drive) \Device\Harddisk3\DP(1)0-0+a
(Drive) \Device\Harddisk4\DP(1)0-0+b
(Drive) \Device\HarddiskVolume1
(Drive) \Device\HarddiskVolume2
(Drive) \Device\HarddiskVolume3
(Unk) 00000022 \Device\SandboxieDriverApi
(Unk) 00000022 \Device\WMIDataDevice
(Unk) 00000039 \Device\KsecDD
Clsid -------------------------------
Ipc -------------------------------
Ipc \BaseNamedObjects\crypt32LogoffEvent
Ipc \BaseNamedObjects\DbgEngEvent_00000B4C
Ipc \BaseNamedObjects\DrWatsonLogProtect
Ipc \BaseNamedObjects\MsoDWExclusive2860
Ipc \BaseNamedObjects\PowerProfileRegistrySemaphore
Ipc \BaseNamedObjects\SbieDllDummyEvent_2832
Ipc \BaseNamedObjects\SbieDllDummyEvent_2860
Ipc \BaseNamedObjects\SbieDllDummyEvent_2880
Ipc \BaseNamedObjects\SbieDllDummyEvent_2892
Ipc \BaseNamedObjects\shell.{210A4BA0-3AEA-1069-A2D9-08002B30309D}
Ipc \BaseNamedObjects\shell.{7CB834F0-527B-11D2-9D1F-0000F805CA57}
Ipc \BaseNamedObjects\shell.{A48F1A32-A340-11D1-BC6B-00A0C90312E1}
Ipc \BaseNamedObjects\userenv: User Profile setup event
Ipc \BaseNamedObjects\ZonesCacheCounterMutex
Ipc \BaseNamedObjects\ZonesCounterMutex
Ipc \BaseNamedObjects\ZonesLockedCacheCounterMutex
Ipc O \BaseNamedObjects\__DDrawCheckExclMode__
Ipc O \BaseNamedObjects\__DDrawExclMode__
Ipc O \BaseNamedObjects\DDrawCheckFullscreenSemaphore
Ipc O \BaseNamedObjects\DDrawDriverObjectListMutex
Ipc O \BaseNamedObjects\DDrawWindowListMutex
Ipc O \BaseNamedObjects\Sandboxie_DeviceIdList
Ipc O \BaseNamedObjects\Sandboxie_DeviceSetupClasses
Ipc O \BaseNamedObjects\ShimCacheMutex
Ipc O \BaseNamedObjects\SHIMLIB_LOG_MUTEX
Ipc O \BaseNamedObjects\ShimSharedMemory
Ipc O \KnownDlls\advapi32.dll
Ipc O \KnownDlls\appHelp.dll
Ipc O \KnownDlls\COMCTL32.dll
Ipc O \KnownDlls\comdlg32.dll
Ipc O \KnownDlls\CRYPT32.dll
Ipc O \KnownDlls\gdi32.dll
Ipc O \KnownDlls\kernel32.dll
Ipc O \KnownDlls\MSASN1.dll
Ipc O \KnownDlls\msvcrt.dll
Ipc O \KnownDlls\NETAPI32.dll
Ipc O \KnownDlls\ole32.dll
Ipc O \KnownDlls\oleaut32.dll
Ipc O \KnownDlls\rpcrt4.dll
Ipc O \KnownDlls\Secur32.dll
Ipc O \KnownDlls\shell32.dll
Ipc O \KnownDlls\SHLWAPI.dll
Ipc O \KnownDlls\urlmon.dll
Ipc O \KnownDlls\user32.dll
Ipc O \KnownDlls\USERENV.dll
Ipc O \KnownDlls\version.dll
Ipc O \KnownDlls\wininet.dll
Ipc O \LsaAuthenticationPort
Ipc O \NLS\NlsSectionCType
Ipc O \NLS\NlsSectionLocale
Ipc O \NLS\NlsSectionSortkey
Ipc O \NLS\NlsSectionSortTbls
Ipc O \NLS\NlsSectionUnicode
Ipc O \RPC Control\SbieSvcPort
Ipc O \Security\LSA_AUTHENTICATION_INITIALIZED
Ipc O \ThemeApiPort
Ipc O \Windows\ApiPort
Ipc X \BaseNamedObjects\nView Shared Desk Mutex
Ipc X \BaseNamedObjects\nView Shared Memory
Ipc X \BaseNamedObjects\nView Shared Memory Mutex
Ipc X \BaseNamedObjects\nView Shared Trans Mutex
Ipc X \BaseNamedObjects\PowerProfileRegistrySemaphore
Ipc X \RPC Control\IcaApi
Pipe -------------------------------
Pipe O \Device\NamedPipe\ShimViewer
Pipe X \Device\NamedPipe\lsarpc
Pipe X \Device\NamedPipe\wkssvc
WinCls -------------------------------
WinCls X #32769
WinCls X NVIDIA TwinView Window
WinCls X Progman



Secondly with Nwiz & Nview diasbled. Notepad opens fine in sandboxed window


(Drive) \Device\CdRom0
(Drive) \Device\CdRom1
(Drive) \Device\Floppy0
(Drive) \Device\Harddisk1\DP(1)0-0+8
(Drive) \Device\Harddisk2\DP(1)0-0+9
(Drive) \Device\Harddisk3\DP(1)0-0+a
(Drive) \Device\Harddisk4\DP(1)0-0+b
(Drive) \Device\HarddiskVolume1
(Drive) \Device\HarddiskVolume2
(Drive) \Device\HarddiskVolume3
(Unk) 00000022 \Device\SandboxieDriverApi
(Unk) 00000022 \Device\WMIDataDevice
(Unk) 00000039 \Device\KsecDD
Clsid -------------------------------
Ipc -------------------------------
Ipc \BaseNamedObjects\SbieDllDummyEvent_2748
Ipc \BaseNamedObjects\SbieDllDummyEvent_2908
Ipc \BaseNamedObjects\shell.{210A4BA0-3AEA-1069-A2D9-08002B30309D}
Ipc \BaseNamedObjects\shell.{7CB834F0-527B-11D2-9D1F-0000F805CA57}
Ipc \BaseNamedObjects\shell.{A48F1A32-A340-11D1-BC6B-00A0C90312E1}
Ipc \BaseNamedObjects\userenv: User Profile setup event
Ipc O \BaseNamedObjects\Sandboxie_DeviceIdList
Ipc O \BaseNamedObjects\Sandboxie_DeviceSetupClasses
Ipc O \BaseNamedObjects\ShimCacheMutex
Ipc O \BaseNamedObjects\SHIMLIB_LOG_MUTEX
Ipc O \BaseNamedObjects\ShimSharedMemory
Ipc O \KnownDlls\advapi32.dll
Ipc O \KnownDlls\appHelp.dll
Ipc O \KnownDlls\comdlg32.dll
Ipc O \KnownDlls\gdi32.dll
Ipc O \KnownDlls\kernel32.dll
Ipc O \KnownDlls\msvcrt.dll
Ipc O \KnownDlls\NETAPI32.dll
Ipc O \KnownDlls\ole32.dll
Ipc O \KnownDlls\oleaut32.dll
Ipc O \KnownDlls\rpcrt4.dll
Ipc O \KnownDlls\Secur32.dll
Ipc O \KnownDlls\shell32.dll
Ipc O \KnownDlls\SHLWAPI.dll
Ipc O \KnownDlls\user32.dll
Ipc O \KnownDlls\USERENV.dll
Ipc O \KnownDlls\version.dll
Ipc O \NLS\NlsSectionCType
Ipc O \NLS\NlsSectionLocale
Ipc O \NLS\NlsSectionSortkey
Ipc O \NLS\NlsSectionSortTbls
Ipc O \NLS\NlsSectionUnicode
Ipc O \ThemeApiPort
Ipc O \Windows\ApiPort
Pipe -------------------------------
Pipe O \Device\NamedPipe\ShimViewer
Pipe X \Device\NamedPipe\wkssvc
WinCls -------------------------------
WinCls X Progman




Ok, what should I be looking for?

Cheers,
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
Well, this should actually be pretty easy, hopefully.

Add the following to Resource Access -> IPC Access -> Direct Access

*\BaseNamedObjects*\nView*

Add the following to Resource Access -> Window Access

NVIDIA*

See if that helps. If not, post another log with this settings active.
View user's profileSend private message
IJones
Guest

Reply with quote
Perfect Wraithdu!

Everything is now re-enabled and Sandboxie is working fine with these settings. I think I can see where these were derived from. Hopefully, as I become more familiar with Sandboxie I'll be able to work these things out...

Many thanks for everyone’s help. And a special thanks for a great product. Very Happy
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
I added these exclusions as default settings in version 3.36.02, so IJones, if you could please remove your custom settings and try Sandboxie 3.36.02 from this link to let me know if I got it right:

http://www.sandboxie.com/SandboxieInstall-336-02.exe
View user's profileSend private message
IJones
Guest

Reply with quote
Settings deleted and new version installed. All works absolutely fine. Excellent result.

Many thanks for this, and taking the time to sort this out.
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Thanks for checking IJones.
View user's profileSend private message
Can't run any program at all in Sandbox!
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 This topic is locked: you cannot edit posts or make replies.  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,722,089 times since June 2004