Who Is Locking is a file utility that detects which processes is locking (currently using) the file so that you can successfully delete, move, rename, whatever you want to do with the file.

Command Line Usage: WhoIsLocking [commands] [file name]

Console Command Line Arguments:
-k - Kill (or stop) processes that is locking the file.
-d - Deletes the file (implies -k).
-r - Deletes the file on next restart of your PC (implies both -k and -d commands).

Who Is Locking may need administrative access to stop some process and delete the file on next restart.

Exit codes:
0 - No errors.
1 - Argument parsing error.
2 - Failed to get list of locking processes.
3 - Failed to stop process(es).
4 - Unable to delete file(s).
5 - Unable to schedule file for removal on next restart.

Features

  • Kill (or stop) processes that is locking the file
  • Deletes the file on next restart of your PC if the application cannot kill the processes locking the file

Project Samples

Project Activity

See All Activity >

Follow [C#] Who Is Locking

[C#] Who Is Locking Web Site

Other Useful Business Software
No-Nonsense Code-to-Cloud Security for Devs | Aikido Icon
No-Nonsense Code-to-Cloud Security for Devs | Aikido

Connect your GitHub, GitLab, Bitbucket, or Azure DevOps account to start scanning your repos for free.

Aikido provides a unified security platform for developers, combining 12 powerful scans like SAST, DAST, and CSPM. AI-driven AutoFix and AutoTriage streamline vulnerability management, while runtime protection blocks attacks.
Start for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of [C#] Who Is Locking!

Additional Project Details

Registered

2016-11-02