How to find out what processes have folder or file locked?

后端 未结 4 1611
夕颜
夕颜 2021-02-08 11:48

How do you go about querying running processes to find out what folders or files they have locked? (i.e. you go to eject a drive and you\'re told that it can\'t be ejected becau

相关标签:
4条回答
  • 2021-02-08 12:07

    LockHunter is a great context menu tool for Windows.

    0 讨论(0)
  • 2021-02-08 12:09

    One of the first things I put on my Windows dev machines is WhoUses. It's nice because it's open source too.

    0 讨论(0)
  • 2021-02-08 12:11

    http://www.emptyloop.com/unlocker/ (freeware) has a special UI for exactly this situation.

    0 讨论(0)
  • 2021-02-08 12:28

    Process Explorer will show you this. Ctrl-F will let you search for a file and list the process(es) that have that file open/locked. You can then close that handle using Process Explorer.

    There's also a command line utility called oh.exe available for download. See here for more details

    0 讨论(0)
提交回复
热议问题