Windows Defender not allowing calc to open

Cannot open Calc files unless I turn off Defender the following comes up when trying to open:
"The lock file could not be created for exclusive access by LibreOffice, due to missing permission to create a lock file on that file location or lack of free disk space.

Select Notify to open read-only and get notified when the document becomes editable."
What can I do? In a non-technical answer please

You may start at the following link to microsoft help. There are 2 ways possible: Either you add LibreOffice-Office to the list of allowed apps, or you open a dedicated folder, wich is not controlled by defender, and therefore accessible by programs like LibreOffice, wich you didn’t get from Microsoft.

Sorry I’m not the right person for non technical answers to technical problems. Maybe ask your admin, or whoever activated folder-protection on your system…

1 Like

Thanks for the response but I have tried to put the file name for libreoffice in the exceptions of defender but it makes no difference. Microsoft States that I should not use the method that I tried so have now removed it from the exceptions. Only way to get it to work is to switch off defender which is not a good idea. This has only happened since the last update for Libreoffice so looks like a programming fault.

Hi @Johnco . You need to add soffice.bin to your allowed apps; the likely path is C:\Program Files\LibreOffice\program\soffice.bin. See Defender Controlled folder access exception for LibreOffice - The Document Foundation Wiki

Just before you tried adding LibreOffice to the list, Defender would have offered soffice.bin as a recently blocked file, just double clicking on that would add it to the allowed list. If that notification has been dismissed then you will probably have to navigate to the file from the dialogue and click on soffice.bin to add it to the allowed list.

May look like, but this is “works as intended”. A program was changed, and as Windows has no way to do the updates itself (unless software is installed/updated from MS-Store) the admin has to notify the system, if software is changed. Otherwise it is blocked.
.
Security always has a price in convenience, but i guess MS will like the idea to make it less convenient to use software where they don’t earn money…