Releasing Windows file share locks

后端 未结 6 517
醉话见心
醉话见心 2021-02-05 01:57

This problem crops up every now and then at work. Our build machine can have it\'s files accessed via a normal windows file share. If someone browses a folder remotely on the ma

6条回答
  •  后悔当初
    2021-02-05 02:17

    Try Process Hacker: https://wj32.org/processhacker/

    Process hacker is like Process Explorer on steroids.

    To find the offending process, press CTRL+F or click the "Find Handles of DLLs" button and search for the file name.

    Once you find the file in the find handles dialog, you can simply right click the file there and choose "close". (at least for v2.39.124)

    Older versions had a "terminator" option in the context menu of the process. Right click on the offending process --> Miscellaneous --> Terminator --> Select termination techniques. Note that some are possibly dangerous and may have unintended consequences.

提交回复
热议问题