How could I determine which SMB client/session has a specific file open on a Server 2008R2 Windows file server?
Posted
by
Rasmir
on Server Fault
See other posts from Server Fault
or by Rasmir
Published on 2012-12-19T19:09:40Z
Indexed on
2012/12/20
11:04 UTC
Read the original article
Hit count: 217
What I need a way to associate a client name or IP address with an open file, so that I can cleanly close the file for maintenance. NET SESSION
doesn't show the names of open files and NET FILE
doesn't show the client which has the file open. I had hoped that I could cross-reference the data from these two commands, but that doesn't seem doable. Everything else I've see provides the same data as these commands, with no apparent way to determine which client machine has the file open.
© Server Fault or respective owner