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
| Step | What to do |
|---|---|
| 1. Sign in as an administrator | Changing an owner needs an administrator account, current ownership or Full Control |
| 2. Open Properties | Right-click the folder, select Properties, then Security, then Advanced |
| 3. Change the owner | Select Change next to Owner, enter your user name or Administrators, then Check Names |
| 4. Include the contents | For folders, tick Replace owner on subcontainers and objects |
| 5. Grant access | Go back to Security, select Edit, choose your account and tick Full control |
| 6. Use the command line instead | Run takeown and icacls in an administrator window |
Why Windows blocks you
| Cause | What it looks like |
|---|---|
| Another account owns the folder | Common on files copied from another PC or an old drive |
| Standard account | Your account cannot change permissions |
| Damaged or wrong permissions | Even your own folder refuses to open |
| FAT32 or exFAT drive | No Security tab, because these formats do not support NTFS permissions |
| Write protection | An SD card or USB drive has a physical write-protect switch turned on |
| Antivirus | Third-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
- Right-click the folder or drive and select Properties.
- Open the Security tab and select Advanced.
- Select the Change link next to Owner.
- Type your user name or Administrators in the box, select Check Names, then OK.
- For a folder or drive, decide whether to tick Replace owner on subcontainers and objects.
- 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.
- Open the folder’s Properties and go to the Security tab.
- Select Edit.
- Select your account in the list, or add it first if it is not there.
- Tick Full control under Allow.
- 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.
| Parameter | What it does |
|---|---|
| /f <filename> | The file or folder to take ownership of, with the * wildcard allowed |
| /a | Gives ownership to the Administrators group instead of the signed-in user |
| /r | Applies the change to all files in the folder and its subfolders |
| /d Y | Answers the permission prompt automatically by taking ownership and replacing the folder’s permissions with full control for you only |
| /d N | Skips 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.
| Code | Access it grants |
|---|---|
| F | Full access |
| M | Modify access |
| RX | Read and execute access |
| R | Read-only access |
| W | Write-only access |
| D | Delete access |
| Switch | What it does |
|---|---|
| /t | Applies the command to all files in the current folder and its subfolders |
| /c | Keeps going even if file errors occur |
| /q | Hides success messages |
| /reset | Replaces 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.