How to Delete Locked Files or Folders in Windows 10

In this tutorial, we explain how to unblock and delete locked files in Windows 10.

Every day we work with different types of files in Windows 10 and it is common that we want to perform specific actions on it, but in some cases, we can find messages like the following:

This occurs when another application or process open a particular file, and there Windows 10 lock the file and we will not be able to delete, modify or move this file.

Usually, after the file is no longer in use, the application will unlock automatically allowing editing, but in some particular situations, this doesn’t happen.

Let’s see how to unlock a file in Windows 10.

Method #1: Command Prompt to Delete File or Folder in Windows 10, 8, 7

For this, open the command prompt as administrator and there, execute the following:

del File.ext /F /Q

In this way, we can delete a blocked file.

Method #2: Unlock File using the Process Explorer Tool

This is a tool developed by Microsoft that allows us to manage the processes of the operating system.

Your download can be made at the following link.

It is a portable tool that doesn’t require local installation. So run it:

Go to the File menu and there select the option Show Details for All Processes:

Now go to the Find menu and select the Find Handle or DLL option:

In the window that opens, enter the name of the file that shows blocking in Windows 10, and you will be able to see details of it such as your PID, location, etc.:

Select the file and it will automatically appear on the main screen where you can right click on the process and select the Close Handle option:

This will allow the unlock the file.

Method #4: Use ThisIsMyFile to Delete Locked File or Folder

ThisIsMyFile allows us to unblock or simply delete blocked files in Windows.

You can download it at the following link.

It is another portable app. Search your file and choose the option below.

Method #5: Use IOBit Unlocker To Delete Locked File or Folder

It is another free utility designed to fix all problems of files or folders with this type of errors, making use of the termination of all related processes that prevent us from deleting or accessing files or folders.

You can download it at the following link.

Once launch it, drag or upload the locked file or folder.

Click on the Unlock button to unlock the selected item.

Method #6: Use LockHunter To Delete Locked File or Folder

LockHunter is a free tool developed to delete locked files on Windows systems.

Unlike other tools, LockHunter deletes the files in the recycle bin so that they can be restored if mistake deletes them.

You can download it at the following link.

Once the application is installed, run it and drop the file or locked folder.

There you can unlock it or delete it according to the case.

Method #7: Use File Assassin To Delete Locked File or Folder

Developed by Malwarebytes, this free app has advanced programming techniques that download modules, close remote controllers and finish processes to eliminate the blocked file safely.

You can download it at the following link.

Once the application is installed, its use is simple, just access it, drop the file with, and you will see the following.

Click on the Execute button to proceed with the unlocking of the mentioned file.

With one of these methods, you can delete locked files in Windows 10.

You may also like to know: How to Hide Files & Folders in Windows 10

Leave a Comment