Origin & BF3 in Sandboxie
To prevent Origin from scanning your PC, you can run it in a program called Sandboxie. In this post I’m going to show you how to set up Sandboxie.
First of all you have to download Sandboxie. The free version should be enough.
Your first step in Sandboxie is to create a new sandbox (I called it origin).
You can also use the default sandbox if you want to.
Next, select Configure from the menu and click on Edit Configuration.
In the now opened Sandbox.ini add at the bottom of the file under the [origin] category:
OpenFilePath=C:\ OpenFilePath=C:\Program Files (x86)\Origin\ OpenFilePath=C:\Program Files (x86)\Origin Games\ OpenFilePath=C:\Users\Username\Documents\Battlefield 3\ OpenFilePath=C:\Users\Username\AppData\Roaming\Origin OpenFilePath=C:\Users\Username\AppData\Local\Origin OpenFilePath=C:\Program Files (x86)\SRWare Iron\
The paths might differ from your installation so you have to check them. In this case I am using SRWare Iron as Browser for BF3, you have to run the Browser you want to use for the Battlelog in a sandbox, else the BF3.exe might crash.
Underneath this, you can add all the folders you want Origin to not access.
ClosedFilePath=Z:\ ClosedFilePath=X:\ ClosedFilePath=G:\ ClosedFilePath=C:\foobar2000\ ClosedFilePath=C:\LaTeX\ ClosedFilePath=C:\MinGW\ ClosedFilePath=C:\Python27\ ClosedFilePath=C:\ProgramData\Adobe\ ClosedFilePath=C:\ProgramData\BOINC\ ClosedFilePath=C:\ProgramData\MiKTeX\
A fast way to do this is to go to the Folder (for example C:Program Files (x86)) and click on the icon before the folder path:
Next replace it with cmd and press enter:
Now a console window is open, type dir /d and press enter.
Now you will see all the folders, you just have to copy them and replace the brackets.
Do not Close the File Path for folders you opened at the beginning, in this case:
C:\ C:\Program Files (x86) C:\Users\Username\Documents\ C:\Users\Username\AppData\
Attention 64bit Users! To prevent random crashes, block access to the IGO32.dll
ClosedFilePath=C:\Program Files (x86)\Origin\IGO32.dll
Remember that you have to start the Browser and Origin in the Sandbox. You can let them always start in a Sandbox by adding this to the Sandbox.ini file:
This only works for the purchased version of Sandboxie.
ForceProcess=bf3.exe ForceProcess=origin.exe ForceFolder=C:\Program Files (x86)\SRWare Iron
Here are two links that helped me:
If you have questions or problems, feel free to write a comment, I’m happy to help you.