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.
- 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.