PolarGoose

Results 62 comments of PolarGoose

@drawbyperpetual, Fantastic. Thank you for investigating this problem. It is a pity that it cannot be fixed properly. By the way, I created a similar tool [ShowWhatProcessLocksFile](https://github.com/PolarGoose/ShowWhatProcessLocksFile) before PowerToys existed....

I also described another improvement [here](https://github.com/microsoft/PowerToys/pull/22806#issuecomment-2081514341). In general, the Interop C++ library is not needed. It is possible to write the lock-finding code in C# like I have done in...

There are already existing console tools * [Sysinternals Handle](https://learn.microsoft.com/en-us/sysinternals/downloads/handle). Note: it doesn't support Unicode file names. Take a fixed version from [here](https://github.com/PolarGoose/Sysinternals-console-utils-with-Unicode-support) * [Handle2](https://github.com/PolarGoose/Handle2) Don't they do what is asked?

@lwahonen, You can do that with a small PowerShell script: ``` param ( [Parameter(Mandatory=$true)] [string]$PathToTheFileOrFolder ) $handleInformation = & "$PSScriptRoot/handle64.exe" -accepteula -nobanner -v $PathToTheFileOrFolder foreach($lockingProcess in ConvertFrom-CSV -Delimiter "," -InputObject...

@shunf4, Thank you for reaching out. I haven't added clauses like `is-connected` to avoid introducing extra complexity in the code and keep the program as simple as possible. To check...

@Camios, did you try to run `File Locksmith` as an Admin?

By default, it only checks the handles from the current user because it doesn't have access to other handles. You can use this button to make FileLocksmith show all handles:...

@Camios, Valid point. Then please create a feature request. Is the bug still relevant? Can it be caused by the fact that the file was locked by an elevated process,...

Logical. However, for example, [Sysinternals Handle](https://learn.microsoft.com/en-us/sysinternals/downloads/handle) works like FileLocksmith. It only shows all handles if you run it as an admin. I'm not a FileLocksmith maintainer, so I won't judge...

@Thespikedballofdoom > I tried this app, and it didn't find the process holding a file, even when I used admin mode. Thank you for trying. There is no reliable mechanism...