When Windows reports “Folder is not accessible. Access is denied,” it usually means your user account lacks the necessary permissions to open that folder, or the folder is locked by another process. The fix typically involves taking ownership of the folder, adjusting its security permissions, or disabling a conflicting feature like Controlled Folder Access. Below are the most effective ways to resolve this error, starting with the simplest and moving to more advanced solutions.
Why Does This Error Happen?
Windows enforces file and folder permissions based on the NTFS file system. Each folder has an Access Control List (ACL) that specifies which users or groups can read, write, or modify its contents. If your account is not listed in that ACL, or if it has only “List” or “Read” permissions, you will get an “Access is denied” message when you try to open the folder. This often occurs after:
- You moved a folder from another computer or a previous Windows installation, and the old user account (SID) no longer exists.
- An administrator restricted access to a system folder (like
C:\Program FilesorC:\Windows) to protect it. - Controlled Folder Access (a ransomware protection feature) is blocking a legitimate app from modifying the folder.
- The folder is encrypted with EFS (Encrypting File System) and your current account lacks the decryption key.
- A third-party backup or sync tool locked the folder, or the disk has errors.
Understanding the cause helps you choose the right fix. If the folder was created by another user profile, you’ll need to take ownership. If it’s a system folder, you may only need to grant your account full control. If it’s an external drive, the drive may be formatted with a file system that doesn’t support permissions (like FAT32), but that usually gives a different error.
Prerequisites: Enable Administrator Account and Back Up
Before making any changes, ensure you have a backup of the folder’s contents if possible. If you can’t access the folder at all, you may still be able to back up its contents by using a Linux live USB or by booting into Safe Mode. Also, some fixes require administrator privileges. If your account is not an administrator, you’ll need to log in with an account that has admin rights. To check, go to Settings > Accounts > Your info and see if it says “Administrator” under your name. If not, you may need to use the built-in Administrator account (which is disabled by default) or ask the system admin for help.
Method 1: Take Ownership of the Folder
Taking ownership transfers the folder’s owner to your user account, which then allows you to change permissions. Here’s how to do it in Windows 10/11:
- Right-click the folder and select Properties.
- Go to the Security tab and click Advanced.
- At the top, next to Owner, click Change.
- In the “Enter the object name to select” box, type your username (e.g.,
YourName) and click Check Names, then OK. - Check the box Replace owner on subcontainers and objects (this applies ownership to all files and subfolders).
- Click OK and then OK again. If you get a permission error, you may need to do this from an elevated command prompt (see below).
If the GUI method fails (common for system folders), use the command line:
- Open Command Prompt as Administrator (search “cmd”, right-click, “Run as administrator”).
- Type:
takeown /f "C:\path\to\folder" /r /d yand press Enter. This takes ownership of the folder and all subfolders. - Then type:
icacls "C:\path\to\folder" /grant yourusername:F /tand press Enter. This grants your user full control recursively.
After this, you should be able to open the folder. If not, proceed to the next method.
Method 2: Adjust Folder Permissions Manually
If you already own the folder but still get denied, the permissions might be too restrictive. To fix:
- Right-click the folder > Properties > Security tab.
- Click Edit (or Advanced and then Add).
- Add your user account if it’s not listed. Click Add, type your username, and click OK.
- In the permissions list, check Full control (or at least Read & execute and List folder contents).
- Click OK and then Apply.
For a more thorough approach, in the Advanced settings, ensure that the permission entries are inherited from the parent folder. If inheritance is disabled, click Enable inheritance. Also, check if there’s a Deny entry that overrides your allow. Deny entries always take precedence, so remove any deny rules for your user.
Method 3: Disable Controlled Folder Access (Temporarily)
Windows Security includes a feature called Controlled Folder Access that blocks untrusted apps from modifying protected folders. If you’re trying to access a folder that’s in the protected list (like Documents, Pictures, or a custom folder you added), legitimate apps may be blocked, but you might also see “Access is denied” when trying to open the folder yourself. To check:
- Open Windows Security (search “Windows Security”).
- Go to Virus & threat protection > Ransomware protection.
- Click Manage ransomware protection.
- If Controlled folder access is on, click Off (or add your app to the allowed list).
After disabling, try opening the folder again. If it works, you can re-enable the feature and add your specific app to the allowed list instead of turning it off completely.
Method 4: Check for Disk Errors and File System Issues
Sometimes the error is caused by disk corruption or a failing drive. Run a disk check to rule this out:
- Open Command Prompt as Administrator.
- Type
chkdsk C: /f(replace C: with the drive letter of the folder) and press Enter. You may need to restart the computer for the check to run.
Also, if the folder is on an external drive, try connecting it to a different USB port or another computer. If the drive uses a file system like exFAT or FAT32, permissions are not supported, so the error might be due to a different issue (like the drive being locked by a sync tool). In that case, try closing all programs that might be using the drive (e.g., backup software) and then try again.
Method 5: Use Safe Mode or a Linux Live USB
If none of the above work because the folder is locked by a system process, booting into Safe Mode can bypass many restrictions. To enter Safe Mode, restart your PC and press F8 (or Shift + Restart) before Windows loads. Then try to access the folder. If that fails, you can use a Linux live USB (like Ubuntu) to boot from a USB drive and copy the files from the folder to another location. Linux ignores Windows permissions, so you can usually read the data. This is a good last resort to recover your files before doing a reset or repair installation.
Frequently Asked Questions
Why do I get “Access is denied” even though I’m the administrator?
Being an administrator doesn’t automatically grant you access to every folder. Windows separates the administrator group from the actual owner of a folder. You must take ownership first, then grant yourself permissions. Also, some system folders have a special “TrustedInstaller” owner, and you need to change the owner to your account before you can modify it.
Can I fix this without losing my files?
Yes, all the methods above are designed to preserve your files. The only risk is if you delete or overwrite permissions incorrectly, but that doesn’t delete data. If you’re worried, back up the folder to an external drive using a Linux live USB or Safe Mode before making changes.
What is the difference between “Take Ownership” and “Change Permissions”?
Ownership is the right to control who can access a file or folder. The owner can always change permissions. Permissions are the specific rules that allow or deny access (read, write, execute). Taking ownership is often the first step because you need to be the owner to modify permissions.
Does this error happen on external hard drives?
Yes, it can. If the external drive is formatted with NTFS and was used on another computer, the user SID may not exist on your current system. You can use the same takeown and icacls commands on the drive’s letter. If the drive is FAT32 or exFAT, the error is less common because those file systems don’t support permissions, but you might see it if the drive is locked by a process.
Will resetting Windows fix this?
Resetting Windows (keeping your files) can fix permission issues, but it’s a drastic step. It reinstalls the OS and resets system files, which may restore default permissions. However, it’s time-consuming and may not be necessary if you follow the methods above. If you do reset, make sure to back up your data first.
Is it safe to grant myself full control over system folders?
Generally, you should avoid modifying permissions on system folders like C:\Windows or C:\Program Files unless you know exactly what you’re doing. Doing so can make your system unstable or vulnerable. Only take ownership of folders that are clearly yours (like a user profile folder) or that you need to access for a specific reason. If you’re unsure, ask a professional.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Evaluate Private Cloud AI Security Operations Platforms
- Access the DOM in Angular Safely
- Websites Create QR Code? How It Works
- Space Engineers Server Name & Description Setup
- Tongue Escape Events Schedule: Full Guide
- f/2.8 Telephoto Zoom: What to Consider