Libre Office 7.1.6 - Unable to create lock file

While moving to a new computer (Lenovo P50) with Win10 64 the install and use of LO comes up with “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.”

Configuration is to have programs on C: drive and documents on E:. As far as I am aware moving the documents folder worked in Windows. An sfc /scannow corrected a few issues internally. There is a 5 MB log file of the results which I am unable to decipher.

Defender had no Ransomware protection enabled. Even with this enabled and soffice.exe configured as allowed app there is no change. So I switched Ransomware off again.

Both drives have plenty of space available.

Even re-installing LO made no difference.

I have suspicions that some permissions do not execute as wanted. Account used in Win has administrative rights provided through Group Management.
However none of the suggestions in the various threads here and in other places gave me an idea how to resolve this issue.

Has anyone an idea what I can check or try next?

I hope this can be of some help to you:
General Installation Issues (Windows)


The message seems at least pretty clear, related to missing rights.
Or look in the menu Tools>Options>LibreOffice at “Paths”, which path is set at “My Documents”.
If you have administrative general rights, it does not mean that you are fully administratively authorized.
Look at the entered permissions of your drive and the folders you use.
Somewhere there has been a break in the mapping of paths between your old and new computer.

IMHO, according to your description, the presented problem is not a LibreOffice problem.

Yes, this was not a LO issue.
In my case the issue at heart was a very weird Windows 10 installation on top of a Windows 10 installation. Seemingly worked, however all sorts of permission problems across other programs as well afterwards.

In the end I completely wiped the partitions and set Windows up from scratch.

1 Like