Access Denied – Error Deleting File or Folder

So first check if the file or folder is in use. Close all open files and folders and try again. Better still, restart your PC and try again. If it does not help, Take Ownership of the file or folder and see if you are now able to delete it. If even this does not help, check if you have the proper File and Folder Permissions. If nothing helps, you may try these steps.

1] Corrupt Files

Corrupted files are files whose behavior has changed and therefore no longer works properly. These files can be either a regular file such as pictures, documents or system files. Most corrupted files can’t be repaired and you should delete or replace them. There are some actions you can take to prevent files from getting corrupted: Nevertheless, if you think that a corrupt file could be the cause for your getting the Access Denied error, you may want to try and repair the file.  Try the freeware File Repair and see if that helps. File Repair is a freeware tool that lets you repair corrupt Word, Compressed Image, Video, Music. PDF files easily on your Windows computer. If you can’t fix the corrupted file, try retrieving an older version of the file to replace the corrupted version. Read: Access Denied error when accessing files or folders.

2] Your local user profile is corrupt

You can try the following steps to resolve the issue if your local user profile is corrupt however, be sure that the files you are deleting are not important or of no use to you. That’s because deleting an important file like a system file can cause serious problems to the OS and/or other programs. On a rare occasion, Windows might not read your local user profile correctly, this may cause problems accessing files and folders. You may need to create a new local user profile/account.

Now see if you continue to get Access Denied error messages and are able to delete the file or folder. If nothing helps, you may see this link and use one of the freeware: How to delete undeletable files & folders in Windows. How to open an encrypted file if access is denied in Windows may also interest some of you. Read this post if you receive File In Use. The action can’t be completed because the file is open in another program message.