Shared Files stuck locked even after closing all sessions
- by Chris S
We run a business app from a shared network drive (has to be this way).
When I go to do updates it complains that files are locked.
Generally there are open sessions from people who left their computer on, but with no locks on files; there aren't necessarily always sessions open when it complains about locked files. If I close these sessions they disappear. I say "disappear" because I suspect they're actually hanging open. If I try to restart the Server service, it hangs on stopping. Restarting the whole server (it's a VM) unlocks the files.
The Server is a Windows 2008 R2 Ent VM running on Hyper-V; the share is accessed through DFS. Offline Files and caching are disabled (Share and GPO). All clients are Win7. Nothing has SP1 yet.
Any ideas on what causes the file locks to hang?
Any ideas for a solution other than rebooting the server every time?