How to remove locked files in Windows

Matthew Adams By: Matthew Adams
2 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Any files in use or open within another software package are automatically locked. Consequently, if you try to delete, or remove, a locked file a Folder in use window pops up stating the action can’t be completed because a file in it is open with a running program. An obvious way to erase locked files is to close the running software to unlock them. However, it might not always be entirely clear what’s locking the file. So this is how you can delete locked files in Windows if you need to.

lockhunter5

There are a few ways to remove locked files in Windows. You can try out software packages that enable you to delete locked files. One of those is LockHunter that you can add to most Windows platforms from Softpedia. The Command Prompt gives you another way to remove locked files, but this is how you can remove them with LockHunter.

  • Click Download on this page to save its installer with which you can add it to Windows. Then open the program’s window in the shot directly below.

lockhunter2

  • First, click on the … button and select Browse for a file.
  • Select a locked file you need to delete. Then LockHunter will show you the software or background processes that are locking the file as below.

lockhunter3


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

  • You can also right-click a file in Explorer and select What is locking this file? That will also open the LockHunter window with processes and software listed.
  • Now there are few things you can do with LockHunter’s options. To remove the locked file to Recycle Bin, click the Delete button and press Yes to confirm.

lockhunter

  • Alternatively, you could press the Unlock It button instead. That will effectively close the file in use so you can delete it within File Explorer.
  • Press the Other button for further options shown in the snapshot below.

lockhunter4

  • Note that you can also select a Terminate Locking Processes option if required. That will also unlock the file for deletion.
  • Or you could select the Delete At Next System Restart option to remove a locked file.

LockHunter is a great software package for deleting locked files as it highlights what’s locking them and includes a few options for removing them. So you can both unlock the files or delete them with the program. As such, this can be a handy tool for removing malware. Check out the LockHunter website for further software details.

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Discussions

Next up

Update KB4470200 blocks problematic Insider build on Nuvoton PCs

Giles Ensor avatar. By: Giles Ensor
2 minute read

The cumulative update KB4470200 for Windows 10 Fast Ring has just launched in the November Patch Tuesday roll out, and it packs two important fixes. Grab […]

Continue Reading

Download KB4467697, KB4467703 to fix high CPU usage issues

Giles Ensor avatar. By: Giles Ensor
2 minute read

We continue our Patch Tuesday series. Two more updates for you in this article – KB4467697 and KB4467703, which both are an attempt to fix an issue […]

Continue Reading

Windows 10 KB4467708, KB4464455 fix black screen and camera issues

Giles Ensor avatar. By: Giles Ensor
3 minute read

In this article, we are going to be talking about two November 2018 Patch Tuesday updates – KB4467708 and KB4464455. Both these updates are quality improvement […]

Continue Reading