Closed Dyras closed 2 years ago
i'm using chromium (not ungoogled) with lastest 0.9.5 and it's working like a charm
chrlauncher.exe works fine for me with latest 5.51.5 on Windows 10 20H2.
Fascinating. Guess it's a config issue or something. Will keep digging.
Edit: Can't really figure out why it doesn't work for me. Maybe a setting in Windows or something.
I was able to reproduce your issue on my Windows 8.1 VM.
Did you do anything in particular to make this happen?
I was able to reproduce as well and found the solution too.
You need to add RpcMgmtSetComTimeout=n (you can use "RpcMgmtSetComTimeout=program_name.exe,n" or "RpcPortBinding=problematic_dll.dll,*,TimeOut=n" if you wan't to be specific) to the sandbox you use to open it to make it work.
I used "RpcMgmtSetComTimeout=chrlauncher.exe,n" and the install didn't crash and it started the download without problems. Be aware that I didn't test if the downloaded browser was working, only the installer.
Thank you for the hint, but I think the workaround is not needed (at least for me).
It looks like the issue was caused from the missing Template=RpcPortBindings
line not listed on the sandbox.
I've tried adding Template=RpcPortBindings to my sandbox but it still doesn't work for me.
Enabled=y
AutoRecover=n
Template=AutoRecoverIgnore
Template=Firefox_Phishing_DirectAccess
Template=Chrome_Phishing_DirectAccess
Template=LingerPrograms
Template=BlockPorts
Template=qWave
Template=FileCopy
Template=SkipHook
Template=OpenBluetooth
Template=RpcPortBindings
BlockNetworkFiles=y
RecoverFolder=%Desktop%
RecoverFolder=%Personal%
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
BorderColor=#00FFFF,ttl
ConfigLevel=9
DropAdminRights=y
ClosePrintSpooler=y
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
I've tried adding Template=RpcPortBindings to my sandbox but it still doesn't work for me.
I see, so you can leave it only in GlobalSettings as it was before. I copied and pasted your box configuration in the previous post + your GlobalSettings in the first post and chrlauncher runs still fine here. It could be related to the content of your sandbox or something else.
In order to take a log with Plus, you need to enable 'Trace Log' tab by opening 'Options' menu -> 'Trace Logging'. Once enabled, you can reproduce your issue. After reproducing it, just right click -> 'Copy Panel' to copy the full log and post it here:
Here's what happens when I try running chrlauncher.exe
[GlobalSettings]
FileRootPath=E:\Sandbox\%SANDBOX%
SeparateUserFolders=y
KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX%
IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION%
EditAdminOnly=n
ForceDisableAdminOnly=n
ForgetPassword=y
Template=RpcPortBindings
Template=KeyScrambler
TemplateReject=WindowsRasMan
TemplateReject=WindowsLive
TemplateReject=OfficeLicensing
StartRunAlertDenied=y
NotifyStartRunAccessDenied=n
AlertFolder=A:\
AlertFolder=B:\
AlertFolder=F:\
AlertFolder=G:\
AlertFolder=H:\
AlertFolder=I:\
AlertFolder=J:\
AlertFolder=K:\
AlertFolder=L:\
AlertFolder=M:\
AlertFolder=N:\
AlertFolder=O:\
AlertFolder=P:\
AlertFolder=Q:\
AlertFolder=R:\
AlertFolder=S:\
AlertFolder=T:\
AlertFolder=U:\
AlertFolder=V:\
AlertFolder=W:\
AlertFolder=X:\
AlertFolder=Y:\
AlertFolder=Z:\
EditPassword=0D0A0E0F0D0801060D060901020E000E0D080609
ForceDisableSeconds=50
NetworkEnableWFP=n
[Chromium]
Enabled=y
AutoRecover=n
Template=RpcPortBindings
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=Chrome_Phishing_DirectAccess
Template=Firefox_Phishing_DirectAccess
Template=AutoRecoverIgnore
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
FileRootPath=D:\Sandboxes\Chromium
BorderColor=#00FFFF,ttl
ConfigLevel=9
DropAdminRights=y
ClosePrintSpooler=y
ClosedFilePath=<BlockNetDevices>,InternetAccessDevices
Thank you for the hint, but I think the workaround is not needed (at least for me).
It looks like the issue was caused from the missing
Template=RpcPortBindings
line not listed on the sandbox.
Oh my god, unintentionally you just gave me the solution to a problem that I've been having for months.
Since I migrated from Sbie Legacy to Plus I've been having issues with some programs not working (like this one chrlauncher) or not having internet access even if the sandbox is not restricted in any way. I fixed all these programs by using the RpcMgmtSetComTimeout
setting on all of them, chrauncher included as I posted before.
But that's not all, what made me really scratch my head is that friends were able to run those same exact programs out of the box without the need of RpcMgmtSetComTimeout
and I didn't know why, why I had to put that setting always but they didn't need it.
Now after reading you comment about Template=RpcPortBindings
I got curious about that setting and gave me a hint to try something. What I found is that my Sandboxie.ini doesn't have that template anywhere, don't know why, maybe a problem in the migration from Legacy to Plus as I still use my old INI and I guess Plus failed to add that template. Anyway I just added it and now all the programs that didn't work without RpcMgmtSetComTimeout
are working, chrlauncher included, and this must be the answer and reason to why my friends were able to run the programs without the setting.
So THANK YOU very much because you just solved a question that was driving me crazy. Now I need to find why SBIE Plus didn't add the template when migrating as this must be happening to other people too and so that might be the reason to issues like this one.
Same issue on Windows 7, please advise if any further logs are required.
The final release of the original Sandboxie does not have this issue.
This works for me on v1 of Sandboxie-Plus. Is it working for you now @EatDesk?
Seems to be working now, so closing this
Describe the bug chrlauncher, an installer for Chromium and Ungoogled Chromium, closes instantly if you run it in Sandboxie.
To Reproduce Steps to reproduce the behavior:
Expected behavior The program properly downloads Chromium and opens it.
System details and installed software (please provide the following information):
Additional context I'm trying to use chrlauncher to install Ungoogled Chromium, as mentioned here https://github.com/Eloston/ungoogled-chromium/issues/1481#issuecomment-827522826
Sandboxie configuration If applicable, consider to attach your sandboxie.ini configuration by copying the content at https://gist.github.com and sharing the resulting link here. If you decide to paste the configuration directly here, make sure to use the backticks around strings, like in this working example:
My initial sandboxie.ini settings
[GlobalSettings] FileRootPath=E:\Sandbox\%SANDBOX% ClosedFilePath=%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\ SeparateUserFolders=y KeyRootPath=\REGISTRY\USER\Sandbox_%USER%_%SANDBOX% IpcRootPath=\Sandbox\%USER%\%SANDBOX%\Session_%SESSION% EditAdminOnly=n ForceDisableAdminOnly=n ForgetPassword=y Template=RpcPortBindings Template=KeyScrambler TemplateReject=WindowsRasMan TemplateReject=WindowsLive TemplateReject=OfficeLicensing StartRunAlertDenied=y NotifyStartRunAccessDenied=n AlertFolder=A:\ AlertFolder=B:\ AlertFolder=F:\ AlertFolder=G:\ AlertFolder=H:\ AlertFolder=I:\ AlertFolder=J:\ AlertFolder=K:\ AlertFolder=L:\ AlertFolder=M:\ AlertFolder=N:\ AlertFolder=O:\ AlertFolder=P:\ AlertFolder=Q:\ AlertFolder=R:\ AlertFolder=S:\ AlertFolder=T:\ AlertFolder=U:\ AlertFolder=V:\ AlertFolder=W:\ AlertFolder=X:\ AlertFolder=Y:\ AlertFolder=Z:\ EditPassword=0D0A0E0F0D0801060D060901020E000E0D080609 ForceDisableSeconds=50 NetworkEnableWFP=n [UserSettings_08DA01C0] SbieCtrl_AutoStartAgent=SandMan.exe SbieCtrl_EnableAutoStart=n SbieCtrl_HideMessage=1301, runas.exe SbieCtrl_HideMessage=1307, mpc-hc64.exe [DefaultBox] SbieCtrl_HideMessage=2205, ConsoleInit (C00000D4) SbieCtrl_HideMessage=2219, SandboxieDcomLaunch.exe [Disqus] SbieCtrl_HideMessage=2214, bits SbieCtrl_HideMessage=1307, mpc-hc64.exe [VLC] SbieCtrl_HideMessage=1307, smplayer.exe [VLC] BoxDisplayOrder=MPCHC ..... ```