Files Locked??

Associate
Joined
19 May 2014
Posts
290
We have a file server running Windows Server 2016 and access this from 4 Windows 10 PC's and a Mac within our office.

On a daily basis someone works on a file on a Windows 10 PC and then once saved it gets opened on the Mac to do final checks and send to print.

On occasions, the windows user will need to re-open the file after the Mac has opened it and then re-save, etc and 99% of the time, this works fine with no issues.

However, on occasions, the windows user gets an error saying the file can't be saved because it is locked. They then have to 'Save As' and save it as something else, at which point the original file becomes unreadable or disappears altogether.

This is getting quite frustrating when trying to keep a file system organised so just wondering if anyone has any idea why this might be happening.
 
When you get the file lock issue check Open Files in Computer Management - It will hopefully narrow down what is locking the file.

If that yields nothing, then try Sysinternals Process Monitor. If you setup the filters sensibly you should be able to leave it running and just ask the users to note the time when it next happens so you can narrow down the point in time in the logs.
 
Macs and Windows file sharing/locking is a massive pain in the ass over smb. If you can get an afp share tool for the windows server, tends to play much nicer.
 
Back
Top Bottom