Skip to content

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

License

Notifications You must be signed in to change notification settings

zanybaka/FileLockedBy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.