|

How To Fix Folder Access Denied In Windows 11 (2026)

Windows 11 shows a “You need permission to perform this action” or access denied message when your account is not allowed to open, change or delete a folder.

The usual cause is that the folder belongs to another account, so the fix is to take ownership and then give your account full control.

The steps below follow Microsoft’s takeown and icacls documentation, with the File Explorer route first.

Folder access denied quick answer

StepWhat to do
1. Sign in as an administratorChanging an owner needs an administrator account, current ownership or Full Control
2. Open PropertiesRight-click the folder, select Properties, then Security, then Advanced
3. Change the ownerSelect Change next to Owner, enter your user name or Administrators, then Check Names
4. Include the contentsFor folders, tick Replace owner on subcontainers and objects
5. Grant accessGo back to Security, select Edit, choose your account and tick Full control
6. Use the command line insteadRun takeown and icacls in an administrator window

Why Windows blocks you

CauseWhat it looks like
Another account owns the folderCommon on files copied from another PC or an old drive
Standard accountYour account cannot change permissions
Damaged or wrong permissionsEven your own folder refuses to open
FAT32 or exFAT driveNo Security tab, because these formats do not support NTFS permissions
Write protectionAn SD card or USB drive has a physical write-protect switch turned on
AntivirusThird-party security software blocks the folder

These causes come from reports by Windows Report and allthings.how, and the permission steps below are Microsoft’s.

Check the drive type first, because a FAT32 or exFAT drive needs a different fix than an NTFS one, as in our guide to formatting a USB drive.

Before you change anything

  • Do not change the owner of your Windows drive, because ElevenForum warns it can break Windows.
  • Back up the data first when you plan to change a whole folder tree.
  • If the message is about a file being open rather than permissions, read our guide to a file open in another program.

Take ownership in File Explorer

  1. Right-click the folder or drive and select Properties.
  2. Open the Security tab and select Advanced.
  3. Select the Change link next to Owner.
  4. Type your user name or Administrators in the box, select Check Names, then OK.
  5. For a folder or drive, decide whether to tick Replace owner on subcontainers and objects.
  6. Select Apply, then OK.

Ticking that box also changes the owner of every file and subfolder inside, which is usually what you want for a folder you cannot open.

If Windows says “Unable to display current owner,” you lack Read permission, so continue and set yourself as owner anyway.

Give your account Full control

Becoming the owner is not always enough to delete or change the contents.

Microsoft’s takeown page says you might need to use File Explorer to give yourself full permissions before you can delete files and directories.

  1. Open the folder’s Properties and go to the Security tab.
  2. Select Edit.
  3. Select your account in the list, or add it first if it is not there.
  4. Tick Full control under Allow.
  5. Select Apply, then OK.

Take ownership with takeown

Microsoft says takeown lets an administrator recover access to a file that was denied by making the administrator the owner.

Open an elevated window first, using our guide to opening Terminal as administrator, then run takeown /f "C:\Path\To\Folder" /r /d y.

ParameterWhat it does
/f <filename>The file or folder to take ownership of, with the * wildcard allowed
/aGives ownership to the Administrators group instead of the signed-in user
/rApplies the change to all files in the folder and its subfolders
/d YAnswers the permission prompt automatically by taking ownership and replacing the folder’s permissions with full control for you only
/d NSkips folders you cannot read

Microsoft notes that /d must be used with /r, and that you cannot mix the ? and * wildcards in one pattern.

Microsoft’s own takeown example is takeown /f lostfile, which takes ownership of a single file.

Grant access with icacls

Run icacls "C:\Path\To\Folder" /grant administrators:F /t in the same elevated window after takeown.

Microsoft documents /grant as giving the listed user the rights you name, and /t as applying the change to every file in the folder and its subfolders.

Microsoft says icacls accepts either friendly names or numeric SIDs, and its examples include advanced rights in brackets such as (d,wdac) for Delete and Write DAC.

CodeAccess it grants
FFull access
MModify access
RXRead and execute access
RRead-only access
WWrite-only access
DDelete access
SwitchWhat it does
/tApplies the command to all files in the current folder and its subfolders
/cKeeps going even if file errors occur
/qHides success messages
/resetReplaces the access lists with the default inherited ones

Use /reset with care, and never on system folders, because it can disrupt Windows, as allthings.how also warns.

If the folder came from another PC or old drive

A Microsoft Q&A answer from an Independent Advisor says migration tools can carry over the old system’s access lists, so your account may not own the files even as an administrator.

That answer suggests running takeown with /r and /d Y, then icacls with /grant Administrators:F and /T, and adding your own account the same way if it is not an administrator.

This is community advice rather than Microsoft documentation, so test on a copy of the data first.

If the folder is on a network share

Ownership changes on your PC do not help when the folder lives on another device and its owner controls who gets in.

Check the sharing side instead, using our guides to sharing a folder on your network and to mapping a network drive.

If access is still denied

Work through these checks in order before you consider a reset or a new user account.

  • Make sure your account is an administrator, since a standard account cannot change permissions.
  • Turn off any physical write-protect switch on an SD card or USB drive.
  • Pause third-party antivirus briefly to test, and add a folder exception if that fixes it.
  • Restart the PC after changing ownership, as the guides from Windows Report and allthings.how recommend.
  • Do not pause security software on a work or school device without approval.

Sources

Leave a Reply

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