找出谁锁定了网络共享上的文件 [英] Find out who is locking a file on a network share

查看:100
本文介绍了找出谁锁定了网络共享上的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道谁锁定了网络共享上的文件.

I want to known who is locking a file on a network share.

这是问题所在:网络共享位于NAS上,因此我无法登录.我需要一个工具来远程找出谁在锁定文件.每次重新启动NAS是不切实际的,因为有多个用户.

Here is the problem : the network share is on a NAS, so I can't log on. I need a tool to find out remotely who is locking the file. It is not practical to reboot the NAS every time, because there are several users.

Handle.exe ,Process Explorer和 PsFile 似乎仅限于本地计算机上的文件,因此它们对我不起作用.

Handle.exe, Process Explorer and PsFile seems to be limited to files on the local machine, so they don't work for me.

推荐答案

以防万一有人为基于Windows的系统或NAS寻找解决方案:

Just in case someone looking for a solution to this for a Windows based system or NAS:

Windows中有一个内置功能,向您显示本地计算机上的哪些文件被远程计算机打开/锁定(该文件具有通过文件共享打开的文件):

There is a built-in function in Windows that shows you what files on the local computer are open/locked by remote computer (which has the file open through a file share):

  • 选择管理计算机"(打开计算机管理")
  • 点击共享文件夹"
  • 选择打开文件"

您甚至可以强行关闭文件.

There you can even close the file forcefully.

这篇关于找出谁锁定了网络共享上的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆