Remove Access Denied error when accessing files or folders in Windows

At times, you may run into the problem of being unable to open or access or work with files and folder. The simple message that flashes on your computer screen when you try doing so reads – ‘Access Denied’. This can occur for one or more of the following reasons:

  1. The folder ownership may have changed
  2. You do not have the proper permissions
  3. The file may be encrypted
  4. The file may be in use
  5. The file may be corrupt
  6. The user profile may be corrupt

In such a case, you may be unable to open, work with, access, edit, save or delete files and folders. Such problems are usually caused due to permissions issues, corrupted user accounts or even corrupted files. We have already seen a few troubleshooting steps and what to do if you get the Access Denied error while deleting files or folders. This post throws up a few more troubleshooting steps. Here’s what you can try to address the issue and get back to work.

Access Denied error when accessing files or folders

Run Disk Error Checking

Run CheckDisk or Disk Error Checking in Windows 8. In Windows 8, Microsoft has redesigned chkdsk utility – the tool for detecting and fixing disk corruption. In Windows 8, Microsoft introduced a file system called ReFS, which does not require an offline chkdsk to repair corruptions – as it follows a different model for resiliency and hence does not need to run the traditional chkdsk utility.

Take ownership of a file or folder

If you have upgraded your machine to a different or the most recent OS such as Windows 8, chances are some of your account information may have changed during the process. If it is so, you may no longer have ownership of some of your files or folders. So, take the ownership in first place. If this does not help, you may want to troubleshoot File and Folder Permission Issues in Windows.

The file or folder may be Encrypted

The encryption method is best to ensure protection against any unauthorized access to files and folders. If you do not have access to a file or folder, it is possible the file is encrypted.

Try the following steps to check the same.

Right-click the file/folder and select the Properties option. Next, hit the ‘General’ tab, and press the ‘Advanced’ button.

Advanced attributes

Uncheck the ‘Encrypt contents to secure data checkbox. If you find ‘Encrypt contents to secure data’ checkbox is checked, you will need the certificate to decrypt the file and open it. You can get it from the person who had encrypted the folder.

See this if you see An Unexpected Error is keeping you from renaming the folder message.

Related reads:

  1. Access denied, Please log in with administrator privileges and try again
  2. Location is not available, Access is denied
  3. Access Denied, You don’t have permission to access on this Server.
Posted by on , in Category General with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

10 Comments

  1. Katrina

    For access denied issue I use Long Path Tool

  2. Katrina

    In addition maybe it is caused by long paths or long file names .You can fix this by Long Path Tool, It’s a good tool for this situation.

  3. Bharat Bhushan

    SIR,
    I have changed permissions in c drive by mistake in windows 7.Now i can not access to the c drive.I have tried every thing possible but failed to open the drive.

  4. Try booting Linux, then it will work 😉

  5. devnullius

    If all above still doesn’t work… Take a look here, it explains how I solved it with icacls command… Very simple and it fixes access denied errors that are not easily explained with wrong ntfs user/group permissions…

  6. Tryst46

    Amazing how microshaft gives you a tool to repair outlook 2016 databases (SCANPST.EXE) that you can’t actually use because you can’t access the “Local Settings” directory and beyond. You have to spend ages waiting for the take ownership process to complete despite the fact that Windows quite blatantly states you already own the directory in the properties.

    I’m getting sick of Microshaft telling me what I can or can’t access on my own PC.

  7. disqus_mdDyNc4VG4

    me too! have spent countless hours (yes –all through holidays as I’m an introvert anyways lol) since 28Nov2016 compromise. not impatient/exhaust all options before posting/it just bites we pay for a product & then have to debug it daily (hourly lol) while additional obstacles are created.
    Just take as backhanded compliment your computer skills & traits as quality human far out shines the culpable.
    Happy Trails
    ^_^

  8. Tryst46

    The best part is that I have had to set up my user account as an admin because with some programs and games, it’s the only way they’ll run properly. If you use “run as admin” in the properties of the desktop icon, it often asks you for the admin login so you may as well log out and back in to the admin account before using them. You then get the UAC coming up asking if you want this program to access certain files on your computer. Well DUH, I wouldn’t have had to run it as admin if it could access them without it!

    I still often get “you need admin privileges” when I try to do something with certain files. I AM A FREAKING ADMIN YOU STUPID PILE OF C**P OS.

  9. Tryst46

    I still believe the most useful command in the M$ arsenal is FORMAT.

    If ONLY Unix OS was compatible with the things I regularly use a PC for, I’d switch over to it in a heartbeat.

  10. amit ingle

    sir i have accidenly screwed my admin account and due to that i was unable to login into that so i have created another user and i copied all the data from desktop of the admin user to the another drive at new user..and after that i created another account and made it admin…and deleted that previous admin account..but now i tried to access the coiped filles which are image files…then its shows invalid image.and also i m unable to copy those…please help me out with this..thank you

Leave a Reply

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


9 + 8 =