keepcalculator

06 Numbers and Powers

Denied Permission Folder: Causes & Fixes

Card No. 06·52053 · Updated · Standard formula, shown below

If you see a “You have been denied permission to access this folder” error, it means your Windows user account lacks the required access rights to open that folder. This guide explains why this happens and provides step-by-step fixes to regain access.

Why Does This Error Occur?

The error typically appears when you try to open a folder that is owned by another user account, the system, or has restrictive permissions. Common triggers include:

  • Folder is located in another user’s profile (e.g., C:\Users\OldUsername).
  • Folder is a system folder like Program Files or System Volume Information.
  • You are not an administrator, or the folder’s permissions explicitly deny your account.
  • The folder was copied from another computer, carrying over old permissions.

How Folder Permissions Work in Windows

Windows uses Access Control Lists (ACLs) to determine who can read, write, or execute files. Each folder has an owner (often the account that created it) and a list of permissions for specific users or groups. If your account is not on that list, or is listed with “Deny”, you get the error. The Administrators group usually has full control, but some folders are protected by TrustedInstaller, which even admins cannot modify without taking ownership.

How to Fix the Error (Step-by-Step)

Try these methods in order. You need an administrator account for most of them.

  1. Take Ownership of the Folder
    Right-click the folder → Properties → Security tab → Advanced → next to “Owner” click Change → type your username → Check Names → OK. Check “Replace owner on subcontainers and objects” → Apply. Then close and reopen Properties.
  2. Grant Yourself Full Control
    In the Security tab, click Edit → Add → type your username → OK. In the permissions list, check “Full control” → Apply → OK.
  3. Use Command Prompt (Admin)
    Open Command Prompt as administrator and run:
    takeown /f "C:\path\to\folder" /r /d y
    then:
    icacls "C:\path\to\folder" /grant %username%:(OI)(CI)F /T
  4. Disable Inheritance
    In Advanced Security settings, click Disable inheritance → “Convert inherited permissions into explicit permissions”. Then add your user with full control.

Common Mistakes and Pitfalls

  • Skipping “Replace owner” – If you don’t replace ownership on subfolders, you may still get errors inside.
  • Using the wrong username – Type your Microsoft account email or local account name correctly.
  • Not running as administrator – The takeown command fails without admin rights.
  • Forgetting to close and reopen Properties – After changing ownership, the Security tab may not refresh immediately.

When You Should NOT Change Permissions

Do not modify permissions on core system folders like C:\Windows, C:\Program Files, or System Volume Information. Doing so can break Windows updates, security, or cause boot failures. If you get the error on such a folder, it is usually intentional—leave it alone. For folders that appear after a Windows upgrade (like Windows.old), you can safely take ownership to delete them, but be cautious.

Alternatives to Taking Ownership

If you just need a few files, try copying them via a live Linux USB (bypasses Windows permissions). Or boot into Safe Mode and try again—some permissions are relaxed. Another option is to use the built-in Reset this PC feature to reinstall Windows while keeping your files, which resets all permissions.

Frequently Asked Questions

Why do I get “denied permission” even though I’m the administrator?

Administrators don’t automatically have access to every folder. Some folders are owned by TrustedInstaller or the SYSTEM account, and the Administrators group may only have “Read” or no access. You must take ownership first, then grant yourself full control.

Will taking ownership harm my computer?

For user data folders, no. For system folders, yes—it can make Windows unstable. Only take ownership of folders you know are safe, like a previous user’s profile or an external drive’s folder.

Can I fix this without an administrator account?

No. Changing permissions requires administrative rights. If you don’t have the admin password, you’ll need to ask the system administrator or use a password reset disk (if available).

Why does the error appear on a USB drive or external hard drive?

External drives formatted with NTFS may carry permissions from the original computer. If you plugged it into a new PC, your current account may not be listed. Take ownership of the entire drive (or just the affected folder) using the steps above.

What is the difference between “deny” and “allow” permissions?

“Deny” overrides “allow” in Windows. If a folder has an explicit “Deny” for your user, even being an admin won’t help unless you remove that deny entry. Check the Security tab for any “Deny” entries and remove them.

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

The whole Numbers and Powers drawer →