[Tutorial] Problems with Windows Defender under Windows 10

Home made tutorials, by users, for users
Forum rules
No question in this forum please
For any question related to a topic, create a new thread in the relevant section.

[Tutorial] Problems with Windows Defender under Windows 10

Postby John_Ha » Tue Mar 26, 2019 1:26 pm

Windows 10 has introduced Windows Defender and many W10 users seem to be finding it causes problems with AOO and LO where they cannot save their files, or where AOO/LO hang and are unresponsive when they attempt to do a Save.

The problem is caused by the Controlled Folder Access component of Windows Defender Advanced Threat Protection. See Microsoft's Customize controlled folder access

The solution is to add soffice.bin to the list of programs allowed by Windows Defender.

Do this for AOO by START > Settings > Update and security > Windows security > Virus and threat protection > Ransomware protection > Allow an app through controlled folder access > Add an allowed app. This opens a Navigator window. Navigate to C:\Program Files (x86)\OpenOffice 4\program\ as below. For LO you need to navigate to C:\Program Files\LibreOffice\program\ and type in soffice.exe. You will notice that only .exe and .com files are shown.

add app.gif

The trick is to type soffice.bin into the File name field and click Open. soffice.bin is now added as an allowed program as below.

added.gif

You can alternatively disable Controlled Folder Access completely but this compromises the security of your PC. Do so by going START > Settings > Update and security > Windows security > Virus and threat protection > Ransomware protection. Set Controlled Folder Access to OFF.

Do I also need to add the other .exe files like swriter.exe, scalc.exe, simpress.exe and soffice.exe etc?

No. swriter.exe (and scalc.exe, simpress.exe etc) are the programs which build the screen you see and which accept what you enter and create the document you are working on. When you want to save your work, the program swriter.exe (or scalc.exe, simpress.exe etc) invokes soffice.bin to write to the disk. Hence only soffice.bin needs permission to write to disk.

It has been reported that adding soffice.bin using a powershell command as described in Use PowerShell to allow specific apps does not work.

If you experience any problems please do not post here - start a new thread in the forum.
Last edited by John_Ha on Thu Aug 29, 2019 12:59 am, edited 1 time in total.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6962
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests