Easy Ways to Delete or Rename Locked Folders and Files on Windows

3] Restart your computer.

The next step you can do if it still fails to delete locked files is to restart your computer.

Rebooting also cleans RAM and possibly fixes other glitches at once. Restarting is the easiest way to free your computer from these distractions. You can try this method if you don’t want to bother to find out the cause.

If you have tried rebooting, and it did not help, proceed to the next option.

4] Force Delete Used Files via Command Prompt.

To delete a locked file using Command Prompt, follow these steps to do so:

  1. Run “Command Prompt” as administrator.
  2. Type the command “del /f file_name” and press “Enter.” File_name is the name of the file you are going to delete.

Note that files deleted using Command Prompt can’t be retrieved if you change your mind.

5] Remove third-party apps.

If you’re looking for an easy method to unlock files so you can delete them normally, one of the next easiest ways is to use a free program like Unlocker.

Unlocker is a free program that allows you to take control of your files and gives you the necessary permissions so you can easily delete locked files.

You can download Unlocker on:

  • Download Unlocker

Latest Articles