Some of our users are having an issue where word and excel documents claim to be locked for editing when opened. The files are on a 2003 windows server and the server shows no open sessions to the file. The clients are running Windows 7 Pro with Office 2007 and Microsoft FEP for client protection. The problem is well described in this thread that seems abandoned:
If the user opens word or excel, they can use file/open to open the documents without issue. Anyone have an idea what might be causing this?
Check if this will help:
"Unexpected File Lock by <user>" saving or opening shared workbooks on network location
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please contact firstname.lastname@example.org.
- Edited by Max MengMicrosoft contingent staff, Moderator Thursday, May 31, 2012 3:13 AM
I needed to turn off Preview and Details Pane, as well as turning off "Show pop-up description for folder and desktop items", and that then allows these files to be opened with out the file locked message.
This is a workaround though; not a fix.
It's a bit of a pain this problem as I'm reluctant to deploy any more Windows 7 PCs until this is fixed properly. The affected Win7 PCs are fully patched, so I look forward to a fix for this problem very soon.
I had the same issue. I was able to fix it after coming across this:
I ran the registry fix from that forum and it is fixing all of the issues we have had with the same error. From what the forum says I think the user is locking the file for editing with the fist click, and when you try to open it with the second click you get the error.(a bug with Windows explorer/ Excel)
I hope it works for you too.
Here is the regedit:
Windows Registry Editor Version 5.00
I came across a similar issue, where Excel 2003 users were getting "File is locked by user " " ".
It seemed to be down to a particular file rather than a general issue, and it was only when I investigated further that I found that the user had ticked the Privacy option!
If you look in Tools / Options / Security tab and then tick the box for "Privacy Options", not only does it "remove personal information from file properties on save" but it's overly keen and won't tell you who's locking it out when the file's being shared!
Hope this helps anyone else who comes across this issue! :-)
My company is using Excel 2010 and is current on all Office updates, but still experiencing the issue of wrong user name displayed in the file lock dialog box. I tried installing the kb/2598143 update, but each Windows 7 system already had the update. Any other suggestions?
hi,To resolve this problem, run GPEDIT.MSC and navigate to Computer Configuration > Administrative Templates > Terminal Services and set the "Use temporary folders per session" to 'disabled'. This will prevent the environment variables from being modified and Office files should be able to save to the location you specify
Excel is locking files since I installed Office 2016. Using Win 10 as well. Cleared temp files and it worked for a while. Next day same message. I have file history on as well. Need some relieve since I am developing a system for a non-profit organization. Cannot continue to guess if excel will work or not. Environment is a HP laptop on a home network. Did not have issue before Office 2016 was installed.
- Edited by Marvin2015 Wednesday, November 04, 2015 3:09 PM