Query , display or disconnect files opened by network users

http://technet.microsoft.com/en-us/library/bb490961.aspx

 

Today I found a useful windows system tool openfiles.It querys displays or disconnect files opened by network users.

 

Why we need this tool?

For a long time,we encounter a problem - when delete a file from website,it returns failed.other process was access that file.with this tool,we know who was using that file and disconnect the user when needed.An advantage of this tool is to query from a remote computer.

 

Here is the command to query the opened share file from a remote computer

openfiles.exe /query /s 192.168.1.110 /v /fo csv

 

disconnect

openfiles.exe /disconnect /id 1
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章