Sandboxie Acquired by Invincea

Discussion in 'sandboxing & virtualization' started by ad18, Dec 16, 2013.

Thread Status:
Not open for further replies.
  1. robert scott

    robert scott Registered Member

    Joined:
    Oct 1, 2016
    Posts:
    1
    Location:
    florida
    Have been using Sandboxie for some time but have never ran across this problem before.
    Finished surfing, deleted sandbox. Tried to use the program again but nothing. I go back
    to the SB where I find that the sandbox is still full. Keeps repeating over and over. Some Help ?
     
  2. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Hi Robert, Do you have the sandbox set to delete on closing of sandboxed programs? Are you getting any Sandboxie message when you exit sandboxed programs? Perhaps you are getting a message sort of like the one below:

    "Delete Sandbox XXXX could not move the sandbox out of the way
    The object (file or folder) may be in use by another program
    Close any application or windows that may prevent the access
    System Error Code
    Access is denied
    (5)"

    If thats the case, you might be using a program (usually an AV or other scanner) that locks files inside the sandbox as you try to delete contents. Then you get the message. A solution is to reboot the PC, that frees the lock and allows you to delete the sandbox after rebooting. If this happens often, then you need to find out what is the program that's locking files. You could also go inside C>Sandbox>User and manually delete the sandbox folder using Windows explorer.

    Bo
     
  3. beethoven

    beethoven Registered Member

    Joined:
    Dec 27, 2004
    Posts:
    1,391
    How would I best set up Sandboxie for Skype? Apart from skype.exe there is also some skypebrowserhost.exe running. Would I set these up as forced programs? Are there any other suggested settings?
     
  4. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Only the main exe (skype.exe) is required to be setup as a Forced program. But if you Start/Run restrict the sandbox then you can add skypebrowserhost.exe in the restriction window so is allowed to run in the sandbox. If you also setup internet access restrictions, add skype.exe and skypebrowserhost.exe ln that Sandbox settings window.

    I am not familiar with Skype, I tested it sanboxed once, to help someone else here at Wilder's so I can not tell you much but I suggest you create a dedicated sandbox for Skype. I also know it works best to install it in your system and then run it sandboxed (instead of installing the program in a sandbox and running it from there). I also suggest you run Skype without restrictions for a few days so you become familiar with all exes that will run and need internet access when you use Skype. This way all will work out smoothly if/when you set restrictions in Sandbox settings. Also, since you are going to make Skype a Forced program then its best to disable automatic updates and set the sandbox to delete on closing.

    Bo
     
  5. beethoven

    beethoven Registered Member

    Joined:
    Dec 27, 2004
    Posts:
    1,391
    Thanks Bo, I will give this a try. I was actually running skype previously without any problems and thought I had this under the same conditions as my browsers but this morning, I suddenly had some problems, so I was looking for the resident expert :) I have now created a special skype sandbox and see how it goes.
     
  6. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    You are welcome, beethoven

    Bo
     
  7. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    I just reformatted windows and installed sandboxie, now can I copy certain settings from my saved ini and paste it in my current ini and it actually work or do I have to configure everything manually again?
     
  8. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    I think for the most part doing what you want should work out fine. But me personally, if I was to reformat the computer, I would start from scratch. Do everything regarding Sandbox settings for each sandbox again. I wouldn't mind it. It shouldn't take long and I dont feel I would have to redo everything in one sitting or session if I am not up to.

    What I definitely wouldn't recommend doing would be, for example, to take the sandboxie.ini that you used in a W7 PC, saved it and replace with it the one in a new W10 computer. Doing something like that would be a bad idea. But copying and pasting a few specific lines like you want to do is fine.

    Bo
     
  9. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Overkill, it shouldn't be hard for you to tell which settings would become obsolete (if there are any), when you copy a setting from a saved ini and paste it in the one in the reformatted system.

    Bo
     
  10. Overkill

    Overkill Registered Member

    Joined:
    Mar 16, 2012
    Posts:
    2,343
    Location:
    USA
    Thanks Bo. I did everything from scratch other than a few lines I copied from my saved ini
     
  11. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    I have done this in the past without any problems.
     
  12. appster

    appster Registered Member

    Joined:
    Jun 19, 2007
    Posts:
    561
    Location:
    Paradise
    Aloha,

    Would someone tell me the last (maybe I should say 'best') version to fully support WinXP SP3 (x86)?
     
  13. bjm_

    bjm_ Registered Member

    Joined:
    May 22, 2009
    Posts:
    4,458
    Location:
    .
    Last edited: Oct 18, 2016
  14. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Hi appster. To me personally, the latest Sandboxie version is the best in XP. It works without issue. I suggest you install that version and continue updating versions until Invincea stops supporting XP SP3 x86.

    Thats what I done in my XP which has been great for many years, unfortunately the motherboard died a few days ago. If I cant get it going again I ll be a lttle sad because that computer has been great. I was using 5.14 in it and ran just about anything that ran in that computer under Sandboxie. No issue whatsoever.

    Bo
     
  15. appster

    appster Registered Member

    Joined:
    Jun 19, 2007
    Posts:
    561
    Location:
    Paradise
    ...and as I only going to use SBIE when Firefox is launched I'm thinking the free version is good enough - correct?

    Ps @ Bo,,, sorry about your motherboard - my Dell Dimension 4600 has been going strong since 2004 (and I'd hate saying goodbye to XP).
     
    Last edited: Oct 15, 2016
  16. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Yes, if all you going to run sandboxed is Firefox, the free version is fine. You can install latest Firefox.

    I feel bad about my XP, I like it very much. It was probably one of the last of their kind that was built. I got someone seeing if he can find an old motherboard that is still OK so I havent given up on it yet.

    Bo
     
  17. bjm_

    bjm_ Registered Member

    Joined:
    May 22, 2009
    Posts:
    4,458
    Location:
    .
    @bo elam
    We lit a candle for your XP.....prayers and positive energy to XP.
     
  18. appster

    appster Registered Member

    Joined:
    Jun 19, 2007
    Posts:
    561
    Location:
    Paradise
    Mahalo.


    Lots of them on ebay - search for one with your cpu's socket (or one that's complete with a cpu)!
     
  19. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    :D
    You are welcome :).

    Bo
     
  20. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
  21. Infected

    Infected Registered Member

    Joined:
    Feb 9, 2015
    Posts:
    1,138
  22. syrinx

    syrinx Registered Member

    Joined:
    Apr 7, 2014
    Posts:
    427
    http://forums.sandboxie.com/phpBB3/viewtopic.php?f=22&t=22829&start=15#p122570

    Code:
    @ECHO OFF
    TITLE EULA: Don^'t blame me!
    
    SET DONE=0
    IF EXIST "%~DP0Office\EULA.txt" GOTO INIT
    IF EXIST "%~DP0\EULA.txt" GOTO INIT
    :PROMPT
    ECHO This bat will modify your registry! [Office Related]
    ECHO.
    ECHO This bat was made by a user in an effort to aid other users.
    ECHO.
    ECHO The author does NOT make any warranty of any kind,
    ECHO either express or implied. In no event shall the author of this
    ECHO bat be liable for any consequential, direct, incidental
    ECHO or indirect damages ^(including, without limitation,
    ECHO damages for loss of business profits, business interruption,
    ECHO loss of business information, destruction of the universe
    ECHO or any other loss^) arising from the use of this bat.
    ECHO.
    ECHO Do you agree to these terms?
    ECHO ^(Y for Yes, N for No^)
    ECHO.
    SET /P CHOICE=    ^   Make your Choice:
    SET CHOICE=%CHOICE:~0,1%
    IF /I "%CHOICE%"=="Y" GOTO INIT
    IF /I "%CHOICE%"=="N" EXIT
    CLS
    ECHO Oops, please try again!
    ECHO.
    GOTO PROMPT
    
    :INIT
    CLS
    ECHO Checking Access Level...
    reg QUERY "HKEY_USERS\S-1-5-18" 1>NUL 2>NUL
    IF %ERRORLEVEL%==5 GOTO SECURITY
    IF EXIST %WINDIR%\AdminTest RMDIR %WINDIR%\AdminTest  /Q /S 1>NUL 2>NUL
    IF NOT EXIST %WINDIR%\AdminTest MD %WINDIR%\AdminTest 1>NUL 2>NUL
    IF %ERRORLEVEL%==0 (
       IF EXIST %WINDIR%\AdminTest RMDIR %WINDIR%\AdminTest  /Q /S 1>NUL 2>NUL
       ECHO Seems to be running as Admin, continuing...
       GOTO SELECTION
    )
    ECHO.
    ECHO Sorry, it won't work if you don't ^(Right click the bat and^)
    ECHO Run as administrator
    GOTO END
    
    :SELECTION
    SET /A "ROUNDNORM=6"
    SET /A "ROUNDLAST=%ROUNDNORM%+1"
    SET /A "ROUNDREST=%ROUNDNORM%+2"
    SET /A "ROUNDERR=%ROUNDNORM%+3"
    TITLE What are you doing?
    ECHO.
    ECHO **This bat will modify Office related registry entries!**
    ECHO.
    ECHO Choose 1 to Backup and Replace /dde
    ECHO Choose 2 to Restore /dde using Backups
    ECHO Choose 3 to Cancel and Exit.
    ECHO.
    ECHO **This bat will modify Office related registry entries!**
    ECHO.
    SET /P SELECTION=    ^   Which option number would you like to try?:
    SET SELECTION=%SELECTION:~0,1%
    IF /I "%SELECTION%"=="1" GOTO ROUND_1
    IF /I "%SELECTION%"=="2" GOTO ROUND_%ROUNDREST%
    IF /I "%SELECTION%"=="3" EXIT
    CLS
    ECHO Oops, please try again!
    ECHO.
    GOTO SELECTION
    
    :CYCLE
    IF %NUMBER%==1 SET CURRENTTARGET=Excel.Backup
    IF %NUMBER%==2 SET CURRENTTARGET=Excel.Chart
    IF %NUMBER%==3 SET CURRENTTARGET=Excel.CSV
    IF %NUMBER%==4 SET CURRENTTARGET=Excel.Macrosheet
    IF %NUMBER%==5 SET CURRENTTARGET=Excel.OpenDocumentSpreadsheet.12
    IF %NUMBER%==6 SET CURRENTTARGET=Excel.Sheet.12
    IF %NUMBER%==7 SET CURRENTTARGET=Excel.Sheet.8
    IF %NUMBER%==8 SET CURRENTTARGET=Excel.SheetBinaryMacroEnabled.12
    IF %NUMBER%==9 SET CURRENTTARGET=Excel.SheetMacroEnabled.12
    IF %NUMBER%==10 SET CURRENTTARGET=Excel.Template
    IF %NUMBER%==11 SET CURRENTTARGET=Excel.Template.8
    IF %NUMBER%==12 SET CURRENTTARGET=Excel.TemplateMacroEnabled
    IF %NUMBER%==13 SET CURRENTTARGET=Word.Backup.8
    IF %NUMBER%==14 SET CURRENTTARGET=Word.Document.12
    IF %NUMBER%==15 SET CURRENTTARGET=Word.Document.8
    IF %NUMBER%==16 SET CURRENTTARGET=Word.DocumentMacroEnabled.12
    IF %NUMBER%==17 SET CURRENTTARGET=Word.DocumentMacroEnabled.8
    IF %NUMBER%==18 SET CURRENTTARGET=Word.RTF.8
    IF %NUMBER%==19 SET CURRENTTARGET=Word.Template.12
    IF %NUMBER%==20 SET CURRENTTARGET=Word.Template.8
    IF %NUMBER%==21 SET CURRENTTARGET=Word.TemplateMacroEnabled.12
    IF %NUMBER%==22 SET CURRENTTARGET=Word.TemplateMacroEnabled.8
    IF %NUMBER% GEQ 23 GOTO CHECKROUND
    SET /A NUMBER=NUMBER+1
    IF DEFINED AUTORESTORE GOTO RESTORE
    GOTO FILES
    
    :FILES
    SET /A ROUNDPREV=%ROUNDNUM%-1
    reg QUERY "HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\Print\ddeexec" 1>NUL 2>NUL
    IF %ERRORLEVEL%==5 GOTO SECURITY
    IF %ERRORLEVEL%==1 GOTO CYCLE
    IF NOT EXIST "%~DP0Office\%CURRENTTARGET%.reg" regedit /A "%~DP0Office\%CURRENTTARGET%.reg" "HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell"
    IF %ERRORLEVEL%==5 GOTO SECURITY
    IF NOT EXIST "%~DP0Office\%CURRENTTARGET%.reg" GOTO CYCLE
    IF %ROUNDNUM%==1 (
       IF EXIST "%~DP0Office\%CURRENTTARGET%.reg" (
          SET "SOURCE=%~DP0Office\%CURRENTTARGET%.reg"
          SET "TARGET=%~DP0Office\Temp\%CURRENTTARGET%.Fixing.%ROUNDNUM%.reg"
          GOTO REPLACE
       )
    )
    IF NOT EXIST "%~DP0Office\Temp\%CURRENTTARGET%.Fixing.%ROUNDPREV%.reg" GOTO CYCLE
    SET "SOURCE=%~DP0Office\Temp\%CURRENTTARGET%.Fixing.%ROUNDPREV%.reg"
    IF %ROUNDNUM% LEQ %ROUNDNORM% (
       SET "TARGET=%~DP0Office\Temp\%CURRENTTARGET%.Fixing.%ROUNDNUM%.reg"
       IF %DONOTFIX% EQU 1 GOTO CHECKREG
       GOTO REPLACE
    )
    IF %ROUNDNUM% EQU %ROUNDLAST% (
       SET "TARGET=%~DP0Office\Fix\%CURRENTTARGET%.Fixed.reg"
       GOTO REPLACE
    )
    GOTO CYCLE
    
    :CHECKROUND
    SET /A ROUNDNUM=ROUNDNUM+1
    IF %ROUNDNUM% LEQ %ROUNDLAST% (
       SET /A NUMBER=1
       GOTO Round_%ROUNDNUM%
    )
    IF %ROUNDNUM% GEQ %ROUNDREST% (
       IF %ROUNDNUM% LEQ %ROUNDERR% GOTO END
    )
    GOTO ERROR
    
    :REPLACE
    SETLOCAL ENABLEDELAYEDEXPANSION
    (
       FOR /F "tokens=1* delims=:" %%A IN ('findstr /N "^" "%SOURCE%"') DO (
          SET "LINE=%%B"
          IF DEFINED LINE SET "LINE=!LINE:%ORIGINAL%=%FIX%!"
          ECHO(!LINE!
          )
       ) > "%TARGET%"
    )
    ENDLOCAL
    IF EXIST "%~DP0Office\Fix\%CURRENTTARGET%.Fixed.reg" (
       regedit /S "%~DP0Office\Fix\%CURRENTTARGET%.Fixed.reg"
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\Edit\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\New\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\OnenotePrintto\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\Open\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\OpenAsReadOnly\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\Print\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\Printto\ddeexec /f 1>NUL 2>NUL
       reg DELETE HKEY_CLASSES_ROOT\%CURRENTTARGET%\shell\ViewProtected\ddeexec /f 1>NUL 2>NUL
       SET /A DONE=DONE+1
    )
    GOTO CYCLE
    
    :CHECKREG
    findstr /C:"  64,64,65,00,00" "%SOURCE%" 1>NUL 2>NUL
    IF NOT ERRORLEVEL==1 (
       ECHO.
       ECHO *****************************************************************************
       ECHO ***ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT*ALERT***
       ECHO.
       ECHO   %CURRENTTARGET% contains an entry the bat does not alter!
       ECHO   %CURRENTTARGET% may still result in the same command error as before.
       ECHO *****************************************************************************
    )
    COPY /Y "%SOURCE%" "%TARGET%" 1>NUL 2>NUL
    GOTO CYCLE
    
    :ROUND_1
    TITLE Replace /dde
    CLS
    ECHO.
    ECHO Starting Pass 1 ^(This should be quick^)
    IF NOT EXIST "%~DP0Office" MD "%~DP0Office" 1>NUL
    IF NOT EXIST "%~DP0Office\Fix" MD "%~DP0Office\Fix" 1>NUL
    IF NOT EXIST "%~DP0Office\Temp" MD "%~DP0Office\Temp" 1>NUL
    IF NOT EXIST "%~DP0Office\EULA.txt" (
       IF NOT EXIST "%~DP0\EULA.txt" (
          TYPE NUL > "%~DP0Office\EULA.txt"
       )
    )
    SET /A DONOTFIX=0
    SET /A ROUNDNUM=1
    SET /A NUMBER=1
    SET "ORIGINAL= /dde"
    SET "FIX= \"%%1\""
    GOTO CYCLE
    
    :ROUND_2
    SET /A DONOTFIX=1
    GOTO CYCLE
    
    :ROUND_3
    ECHO.
    ECHO Starting Pass 2 ^(This may take a bit^)
    COPY /Y "%~0" "%~DP0Office\BACKUP.bat" 1>NUL 2>NUL
    SET /A DONOTFIX=0
    SET "ORIGINAL=2f,64,64,65"
    SET "FIX=22,25,31,22"
    GOTO CYCLE
    
    :ROUND_4
    ECHO .
    SET "ORIGINAL=2f,64,64"
    SET "FIX=22,25,31"
    GOTO CYCLE
    
    :ROUND_5
    ECHO ..
    SET "ORIGINAL=  65,00,00"
    SET "FIX=  22,00,00"
    GOTO CYCLE
    
    :ROUND_6
    ECHO ...
    SET "ORIGINAL=2f,64"
    SET "FIX=22,25"
    GOTO CYCLE
    
    :ROUND_7
    ECHO ....
    SET "ORIGINAL=  64,65,00,00"
    SET "FIX=  31,22,00,00"
    GOTO CYCLE
    
    :ROUND_8
    CLS
    ECHO.
    ECHO Attempting to restore Original registry backups.
    SET AUTORESTORE=1
    SET /A ROUNDNUM=7
    SET /A NUMBER=1
    GOTO CYCLE
    
    :RESTORE
    IF EXIST "%~DP0Office\%CURRENTTARGET%.reg" (
       regedit /S "%~DP0Office\%CURRENTTARGET%.reg"
       SET /A DONE=DONE+1
    )
    IF EXIST "%~DP0%CURRENTTARGET%.reg" (
       regedit /S "%~DP0%CURRENTTARGET%.reg"
       SET /A DONE=DONE+1
    )
    GOTO CYCLE
    
    :SECURITY
    ECHO.
    ECHO Sorry, it looks like some security program is preventing
    ECHO access to needed programs or locations
    ECHO ^(eg %WINDIR%\System32\reg.exe or regedit.exe etc or HKCR^)
    ECHO.
    ECHO Please try disabling the product and run the bat again!
    IF NOT EXIST "%~DP0Office\%CURRENTTARGET%.reg" RMDIR "%~DP0Office" /Q /S
    GOTO END
    
    :ERROR
    ECHO :^( Oops Your PC ran into a problem that it couldn't
    ECHO handle, then it asked a question.
    ECHO.
    ECHO "Shall we play a game?"
    ECHO.
    ECHO I told it NO for you but then it got mad and broke this BAT.
    ECHO.
    ECHO Better go and complain now!
    ECHO http://forums.sandboxie.com/phpBB3/viewtopic.php?f=22^&t=22829
    ECHO.
    GOTO END
    
    :END
    TITLE !!KEEP OFFICE FOLDER!!
    ECHO.
    ECHO -----------------------------------------------------------------------------
    RMDIR "%~DP0Office\Fix" /Q /S 1>NUL 2>NUL
    RMDIR "%~DP0Office\Temp" /Q /S 1>NUL 2>NUL
    ECHO %DONE% registry locations processed.
    IF %DONE%==0 (
       ECHO.
       ECHO Oops! It looks like nothing changed.
       GOTO NOFOLDER
    )
    ECHO.
    ECHO !KEEP a copy of the new "Office" folder!
    ECHO It contains the files needed to restore the original entries.
    ECHO.
    ECHO This new "Office" folder will be in the same location as the bat.
    :NOFOLDER
    ECHO -----------------------------------------------------------------------------
    ECHO.
    ECHO Press any key to exit...
    PAUSE 1>NUL
    EXIT
    You can thank Mister X for this one, wouldn't have bothered with it otherwise, much less been able to test it on various versions of Office without him. Unless it doesn't work, then you can blame me! Oh wait, no you can't... :p
     
    Last edited: Oct 18, 2016
  23. ArchiveX

    ArchiveX Registered Member

    Joined:
    Apr 7, 2014
    Posts:
    1,501
    Location:
    .
    With Firefox x64, Sandboxie cannot properly show Streaming videos from certain sites.

    I am not the only one having this problem...
     
  24. Infected

    Infected Registered Member

    Joined:
    Feb 9, 2015
    Posts:
    1,138
    @syrinx

    I tried that, and it made my documents blank. But after i reversed it, the documents were fine.
     
  25. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    You might want to try running Firefox in a sandbox in which Drop rights is not ticked. In my W7 32 bits laptop videos from all sites play whether I am using DR or not but in my XP in some specific sites videos don't stream with DR enabled. The workaround for me is to visit those sites running Firefox in a sandbox in which I don't enable DR.

    Bo
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.