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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

N8iveITCommented:
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
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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
N8iveITCommented:
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
N8iveITCommented:
(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
N8iveITCommented:
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
N8iveITCommented:
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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
N8iveITCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.