Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 17, 2014 1:01 PM
Dear Experts
In order to be more clear I would like to describe the problem step by step:
1-A client (64Bit Win8.1) puts a pdf file on a mapped shared folder on a virtual Windows Server 2012 standart.
2-Another client (64Bit win7 or 32 bit win7 or 32 bit win8.1) opens the file, checks whether it belongs to him/her.
3-She/he tries to delete the file
4-she/he can not delete it.
5-I am informed of the problem and I check the status with openfiles.exe on the server and can see that the file is still open.
6-I confirm that the file is closed by the owner and the second user.
Here is the question, why do not all the closed files on the client side not closed on the server side? How can I stop this event?
Thanking you in advance for your support.
Regards
All replies (3)
Monday, October 27, 2014 6:12 AM âś…Answered
Hi,
Please check if you have disabled the autodisconnect feature of the Server service. On Windows servers it can be configured through the Autodisconnect registry key.
\HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\
CIFS and SMB Timeouts in Windows
http://blogs.msdn.com/b/openspecification/archive/2013/03/19/cifs-and-smb-timeouts-in-windows.aspx
Based on the research, as the open shared folder is in a SMB session, the default timeout for SMB session is 15 minutes. If the SMB session is inactive for 15 minutes the server will send a TCP reset to close the SMB connection. Until the Autodisconnect timer is reached, the server will send an NBT keep-alive packet every two minutes. If a client or server application is not written to properly handle network delays, it may terminate the session prior to the default timeout period.
For more detailed information, please refer to the thread below:
Session doesn't close Shared Folder
https://social.technet.microsoft.com/Forums/en-US/54f658c8-3d41-4beb-9a2f-47b054a11b7a/session-doesnt-close-shared-folder?forum=smallbusinessserver
Regards,
Mandy
Friday, October 17, 2014 2:30 PM
Just a thought..
Did you check the 2nd user's effective rights on the file she/he is trying to delete?
Monday, October 20, 2014 4:31 AM
Even though the administrator is given the full right, he can not delete at that moment, locally and remotely.