zanybaka / FileLockedBy

2-in-1: A console app to close the specified handle + Explorer context menu integration (.Net Core)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applications

Console v1

A legacy method of searching the exact process which locks the specified file.
Use ExclusionFolders.txt and ExclusionProcesses.txt to speed-up the process.

Console v2

Allows to find the exact process pretty quick via Restart Manager API.

Usage

Run the application with a specified file to unlock it.
FileLockedBy.exe myDocument.docx

Explorer integration

Register the application
alt
Navigate to a locked file which needs to be deleted
alt
Do mouse right-click on the file
alt
Click Unlocker in the menu
alt
Click Unlocker once again to be sure the file is unlocked
alt
Delete the file
alt
PROFIT!

Microsoft.Win32.Registry is used due to .Net core limitations.

About

2-in-1: A console app to close the specified handle + Explorer context menu integration (.Net Core)

License:MIT License


Languages

Language:C# 100.0%