Access Is Denied Error Message When You Try To Delete A File/Folder

You will get "Access Is Denied" error message when you try to delete a file or folder. This happens when file or folder is being used by processes running in the system and you do not know which process it is!

Windows doesn't ship with any tool that can be used to find out which process is locking up the file or folder. You need to use Process Explorer tool to find the lock on the file and then kill the lock so that you can delete the file and folder.

Steps:

  • Download Process Explorer at here (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)
  • Note the file name or folder you're trying to delete 
  • Run Process Explorer > Find > Find Handle > Enter the file or folder name in "Handle or DLL Substring" Dialogue box
  • Click on Search
  • Right Click on the handle and then click "Close Handle" > Press Yes when promoted.

Now you can successfully delete the file or folder you are trying to delete.

About The Author

1 thought on “Access Is Denied Error Message When You Try To Delete A File/Folder”

  1. Sir – my wife’s desktop started to and still is taking 5 to 8 minutes to boot up. I used the usual clean my PC programs but with no improvement results. Being very old I used command prompt to review her hard drive. there were two (2) very large folders with name in excess of 25 alpha/numeric characters. I tried all the DOS commands I could remember to delete the “Access Denied” folders and/or contents but to no avail. Any suggestions: Thanks Old Don

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top