Closed Seeadler1 closed 3 years ago
And with 5.45.2 it was working fine?
I think so but I am not sure... With 5.45.0 is working fine
Hmm.. that is strange as on my test VM i just installed office and it starts ok. There comes an other error when you forget to enable the click to run template, but with it it starts well.
could you please test which version exactly breaks it for you as that helps me a lot narrowing down what may have caused the issue.
Thanks! Where can I enable the click to run template?
in Sandboxie Classic it is called Software Compatibility and is in the Configure menu. But the app compatibility for Office Click-to-Run is likely not there and has to be added via Sandboxie.ini
Just add
Template=OfficeLicensing
Template=OfficeClickToRun
under the Sandbox brackets of [YourOfficeSandboxName].
Otherwise use Sandboxie Plus with the new SandMan UI
Thank you all!!! I will test it...
Global Settings in the ini looks like this. It seems correct but Word doesn't work. But WordPad is working...
Now I tested Word with the old version 5.33.6 without any changes. But the same error. Office/Word definitely worked with the old 5.33.6.
Microsoft must have changed something fundamentally. So it has nothing to do with your classic version, David.
I assume you have Word from Microsoft Office 365 or 2016, right?
Unfortunately, Microsoft seems to have really changed something here.
https://github.com/sandboxie-plus/Sandboxie/issues/376 or https://www.wilderssecurity.com/threads/ms-office-365-2016-c2r-click-to-run-no-longer-works-with-sandboxie.435875/
Right Michael! Office 2016
Can't confirm. Tried to open a random .docx in Sandboxie and it worked fine. (Word 2016 64bit)
Can't confirm. Tried to open a random .docx in Sandboxie and it worked fine. (Word 2016 64bit)
Click-To-Run (C2R) or MSI version?
@NewKidOnTheBlock: Ok, thanks, but that doesn't answer the version question...
Edit: With the changed installation path, it looks to me more like a MSI version and that works fine. The issue currently only applies to the C2R version of Microsoft Office 365 and 2016.
@Seeadler1 I noted you got a ton of outdated templates in your Sandoxie.ini: You might wanna clean that up manually: https://github.com/sandboxie-plus/Sandboxie/issues/413#issuecomment-763141546
I am not shure bit I think it is the MSI Version. And as I said: some time ago, Word was still running without any problems in Sandboxie. This templates I clean up: Template=Windows10CoreUI Template= WindowsFontCache Template=FireFix_For_Win7 But it doesn't help
I was able to reproduce the issue between Office 2016 "Click to Run" and Sandboxie-Plus 0.6.7:
1) Download C2R from here
2) Run the downloaded file and select the folder where you want to extract the setup files
3) Run cmd in admin mode and use the same path where you extracted the files before.
4) Run setup.exe /download configuration-Office365-x64.xml (it could take one hour to finish)
5) Run setup.exe /configure configuration-Office365-x64.xml (this will install office 2016 click to run)
6) Now apply the compatibility template "Microsoft Office Click-to-run" in your sandbox.
7) Run Word or Excel as sandboxed (you will find the shortcut in C:\ProgramData\Microsoft\Windows\Start Menu\Programs
).
8) Instant crash, same error like this one.
Resource log of the crash: https://git.io/JtzJu
@DavidXanatos: Are there any new findings on this yet? Can the issue be solved soon?
With SB+ 0.7.2, it seems partially fixed for me. I can run Word or Excel as sandboxed by following my previous installation steps (two posts above). The only problem I have is with sandboxed Access, the window opens but it shakes so badly that I can't interact with it.
A workaround to solve the issue is by setting 'Sandbox Indicator in Title' option to 'Don't Alter the window title' in Sandboxie Plus. The line appeared in the sandbox is: BoxNameTitle=-
I would like to hear some additional confirmation.
Since I checked the Office programs after each update of Sandboxie, it seems that the latest Office updates are responsible for it working again now.
I can confirm everything, including the wobbling Access window.
However, a Sandboxie error message also appears for me: "SBIE2313 Could not run SandboxieCrypto.exe (5)"
Edit: The issue with SandboxieCrypto.exe is not due to Sandboxie. The culprit was Windows Defender. A special attack surface reduction rule has been enabled that prevents all Office applications from creating child processes.
I seem to remember that certain Office windows already had problems with the Sandboxie indicator (#) earlier and therefore it was already recommended in the old forums to disable it for Office.
Since 5.49.0 Classic Word 2016 has been working without problems and error messages.
Thanks!
Another user also got Office working again with a repair installation, which normally installs the latest version. Therefore, it seems that Microsoft really was the culprit. Let us hope that Microsoft does not break the compatibility with Sandboxie again with a future Office update.
Edit: Issues #428 and #376 could be closed then, right?
Reinstall doesn't solve the issue with the beta version released by MS, according to henryg1. Personally I would wait a bit before closing...
@Seeadler1 @APMichael @ewald81375
This is how I passed the error "The server endpoint cannot perform the operation (1752).
Create a new default sandbox and add the following lines that will reduce the isolation enough to run MS Office C2R apps:
RpcPortBinding=kernel32.dll,'0497b57d-2e66-424f-a0c6-157cd5d41700@ncalrpc:',TimeOut=n
BoxNameTitle=-
UnrestrictedToken=y
OpenIpcPath=\*
Make sure to not duplicate BoxNameTitle.
Suggested version to apply these lines: Sandboxie v0.9.6 / 5.51.6 or later
(because of this issue recently fixed)
Tested and working for me by running the following shortcuts:
C:\Users\Test\Desktop\SbieTest2\Start.exe /box:New_Box_2 "C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE"
C:\Users\Test\Desktop\SbieTest2\Start.exe /box:New_Box_2 "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"
Thanks for sharing. Maybe this will also help @DavidXanatos to fix the problem directly in Sandboxie without weakening the isolation.
Will be fixed in the next build
you can fix it yourself by adding
RpcPortBinding=kernel32.dll,'0497b57d-2e66-424f-a0c6-157cd5d41700@ncalrpc:',Resolve=AppInfo,TimeOut=y
RpcPortBindingIfId=AppInfo,{0497b57d-2e66-424f-a0c6-157cd5d41700}
to the [Template_RpcPortBindings]
section of Templates.ini
file or directly to the box you want to run Word in
EDIT: It may require a reboot.
Or try the 0.9.7 build
Or try the 0.9.7 build
Works! 😃 Thank you for the now quick fix. And also thanks again to @isaak654 for his help on this.
Hi David,
I tried the new version with Office 2010 on my notebook: Outlook, Word and Powerpoint worked very well . But I had problems with Excel: I startet several excel-sheets with Sandboxie but always no content was shown!!!
Because I´m out off home for a few days I can´t try the new version with Office 2019. After being back I will try with Office 2019 and will send you the result.
Best regards
Ewald
Von: DavidXanatos @.*** Gesendet: Samstag, 2. Oktober 2021 11:45 An: sandboxie-plus/Sandboxie Cc: ewald81375; Mention Betreff: Re: [sandboxie-plus/Sandboxie] Word won't open in Sandboxie (Click-to-Run installations) (#428)
Or try the 0.9.7 build
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sandboxie-plus/Sandboxie/issues/428#issuecomment-932723732 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMXODDLUXOZ7P4FBE7NG23UE3ICHANCNFSM4WNI4BNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Das Bild wurde vom Absender entfernt.
But I had problems with Excel: I startet several excel-sheets with Sandboxie but always no content was shown!!! Because I´m out off home for a few days I can´t try the new version with Office 2019. After being back I will try with Office 2019 and will send you the result.
I ran this Excel spreadsheet on MS Office 365 and it is loaded correctly while sandboxed: https://docs.microsoft.com/en-us/power-bi/create-reports/sample-financial-download
I downloaded v0.9.7d as I had an issue with click to run after i downloaded a csv within the sandbox. This version now displayed the downloaded csv but before it did that sandboxie imported my entire OST email file into the sandbox. Strange behaviour I thought and could not see why my ost file is needed??
because apaprently office wanted to open it for writing and to presetv isoaltion and keep teh original file intact a copy was created on which the sandboxed programs can write without altering the original. You could eider set the file to be read only in which case office may fail or somethign, or you coudl set the file as aopen allowing sandboxed office to alter the original
Hi David,
I now did a complete test with the newest version of Sandboxie 0.9.7 with Office 2019 on my desktop Computer and Office 2010 on my notebook.
Result:
Thank you very much for support and best regards
Ewald
Von: DavidXanatos @.> Gesendet: Freitag, 8. Oktober 2021 09:45 An: sandboxie-plus/Sandboxie @.> Cc: ewald81375 @.>; Mention @.> Betreff: Re: [sandboxie-plus/Sandboxie] Word won't open in Sandboxie (Click-to-Run installations) (#428)
because apaprently office wanted to open it for writing and to presetv isoaltion and keep teh original file intact a copy was created on which the sandboxed programs can write without altering the original. You could eider set the file to be read only in which case office may fail or somethign, or you coudl set the file as aopen allowing sandboxed office to alter the original
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sandboxie-plus/Sandboxie/issues/428#issuecomment-938420611 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMXODCIP4ZGRQF6OER2HN3UF2OO3ANCNFSM4WNI4BNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
@isaak654's comment helped me get OneNote running. https://github.com/sandboxie-plus/Sandboxie/issues/428#issuecomment-931371641 If you log in, however, it adds your microsoft account to the windows install, so there's really no reason to run it sandboxed if you're using some 3rd party syncing service anyway.
Hi,
since version 5.46.0, Word can no longer be opened in the sandbox. A system error message appears: "% 1 is not a valid Win32 application (193)"
But Wordpad works
Regards