File Locks - 2008 Server

I've a problem with Files being locked the network and server are several years old and this has only just started to happen.

The file shows as "File Locked by network user", I've Win 10 Pro clients with 2008 R1 file server, the file is not shown as being locked on the server.  This particular .DOCX file was used by one user who has restarted but the lock remains.

Is there a tool to better show file locks other than Comp Man\Shared Folders\Open Files?

Thanks in advance.
TopCat-007Asked:
Who is Participating?
 
Wayne88Commented:
The reason I asked is because with Excel you can put it in collaboration mode meaning a group of users can work on an Excel file simultaneously.   I am wondering if the WORD version you use support co-authoring.  If so then you may be able to do away with the file lock issue.  This may be an alternative solution to your question.
https://support.office.com/en-us/article/share-your-document-in-word-2016-for-windows-d39f3cd8-0aa0-412f-9a35-1abba926d354
1
 
David GipeCommented:
See https://support.microsoft.com/en-us/help/313472/the-document-is-locked-for-editing-by-another-user-error-message-when for a possible resolution, particularly:
  • Word previously quit improperly and, therefore, did not delete the owner file.
  • The owner file is located in the same folder as the document that you tried to open. The owner file name uses the following convention: It begins with a tilde (~), followed by a dollar sign ($), followed by the remainder of the document file name. The file name extension is .doc. For example, the owner file for Document.doc is named ~$cument.doc.
0
 
Wayne88Commented:
There is a tool for Windows desktop called LockHunter.  However, I am unsure if it will work with servers and network file lock.

https://lockhunter.com

For network admin I only use  Comp Man\Shared Folders\Open Files as you mentioned.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
TopCat-007Author Commented:
yes, I've seen that article. there's no owner file.

it looks like it might be the client machine causing this because its happened again on another file, same user/PC.  

What I don't understand is I cant see the lock on the server and therefore I can't release it.  I'm sure a server reboot will fix it but that shouldn't be needed.

thanks for your msg
0
 
Wayne88Commented:
I have seen this problem before but not with Server 2008.  It's with server 2003.  Just trying to recall what we did to fix it.
0
 
David GipeCommented:
Just curious; if you make a copy of the file, does the copy show as open?
0
 
TopCat-007Author Commented:
yes, open the file as a copy and save as a new file works as you'd expect.  tks
0
 
David GipeCommented:
(This is *not* a final answer but a work-around from having to prevent a reboot until the actual solution is found) At this point, would a work-around be:
1. Copy the original file
2. Delete the original file
3. Rename the copy to the original file name

... or ...

Does the server prevent the original file from being deleted (i.e. does it show it as open or does Word "think" it is open)?
0
 
TopCat-007Author Commented:
David, I couldn't rename/delete it before but I've just tried again and its worked.  I'm in the UK so this office has shut down and gone home so I'm thinking someone must have had an active lock on it (or there's a timeout for locked files?)  but again, how come I couldn't see it from the server that was sharing the file..
0
 
Wayne88Commented:
Hi TopCat-007, which office version is it and is this problem specific only to DOCX files?  How about Excel files,etc?
0
 
David GipeCommented:
I don't have an answer on that. It is almost like someone else had a lock and finally signed out (or a possible timeout).

However, if Word is as difficult to fix file-lock issues as this Excel post shows, it doesn't seem there is a very easy answer; https://blogs.technet.microsoft.com/the_microsoft_excel_support_team_blog/2012/05/14/the-definitive-locked-file-post-updated-772014/.
0
 
David GipeCommented:
One additional note about the Owner file (from https://serverfault.com/questions/691593/file-lock-on-windows-server?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa), "The owner file is hidden, so you will need to enable 'view hidden files and folders' to view it. If the owner file is present then you can simply delete it to 'unlock' the file."

Interestingly enough, this post discusses Word but refers to the above Blog link at the end.
0
 
David GipeCommented:
No final answer was given as to if or what resolved the issue.

Awarding points because I think Wayne88 is correct in thinking it is Word and it most likely ties into some of the locking issues discussed in the referenced Excel post.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.