How to Delete a Locked File in Windows 10

  • MORE

When you run into a locked folder in Windows 10, the system won’t allow you to do anything with it -- open it, delete it, or move it -- without the password. For folders that you didn’t lock, finding the password often isn’t an option. You can’t open these folders, but you can delete them -- even though a simple right-click “Delete” won’t work, nor will the delete button.

hero

It should be noted, however, that deleting these files could wreak havoc on your system if you’re not sure why they’re there in the first place. Proceed with caution.

1. Locate the folder you wish to delete. I don’t have any locked folders I’m willing to delete, so let’s create an unlocked folder -- and call it SkypeHost.exe (a copy of an actual locked file) -- for the sake of the tutorial. It works the same, but you can just as easily remove this folder with the delete button.

locked

2. Download Process Explorer from Microsoft’s website, and press OK on the pop-up window.

process explorer3. Double click processexp64 to extract the file.

click4. Choose Extract All.

extract5. Click Open.

open6. Double click the procexp64 application to open the application.

procexp64

7. Select Run.

run8. Read the terms and press the Agree button.

agree9. In the Process Explorer window, choose File > Show Details for All Processes.

processes10. Allow the app to make changes by pressing the Yes button.

yes11. Go the the Find menu at the top and select Find Handle or DLL.

dll12. Type in the file name and hit Search.

search13. Right click the process in the bottom of the Process Explorer screen and select Close Handle. If there are multiple processes listed here, you’ll need to repeat this step to close all of them.

close14. Delete the file as you would normally.

delete

Add a comment
1 comment
  • Leane Corne Says:

    Doing operations on locked files, or files which are in use are very difficult I don't know why. Its very frustrating. After reading blogs and searching a lot I found people recommending GS Richcopy 360, after trying it out and testing it I found it works very well and solves my problem every time. I would suggest you to use it instead of using some crappy software and wasting your time.

Back to top