Windows 11 how-to
Block Folder Access in Windows 11 With Permissions
Windows 11 can keep another account out of a folder using nothing but its own permission system. It costs nothing and works on Home and Pro, yet most people apply it in a way that either locks themselves out or leaves a gap.
Right-click the folder, open Properties and Security, choose Edit, add the account to keep out and tick Deny on Full control. Test by signing in as that account. It stops opening and changing by that account only; administrators can reverse it, and it adds no password prompt.
- Applies to
- Windows 11, any edition, NTFS drives
- Time needed
- 5 to 10 minutes
- Difficulty
- Moderate
- Cost
- $0
- Needs admin
- Yes
- Last verified
- November 2026
How Windows decides who gets in
Windows keeps an access list on each NTFS folder and checks it for every request. Entries are Allow or Deny, set per account or group, and a Deny wins over an Allow at the same level. Knowing this order prevents most self-inflicted lockouts.
Our shorthand for the rule is the Name-Deny-Test routine: name exactly one account, apply one deny, then test from that account. Three words, three actions, and nothing else changes in between.
Files inside a folder usually inherit its entries. An explicit entry on a subfolder takes priority over a deny passed down from a parent, so a deny on a parent does not always reach every child.
Step-by-step: deny one account in File Explorer
Deny one account in four actions: open the folder's Properties, edit the Security tab, add the account and tick Deny on Full control, then test from that account. Plan five minutes and an administrator sign-in. Never add Everyone or Users to the deny list.
Open Properties, then Security
Right-click the folder, choose Properties and select the Security tab. Select Edit and accept the administrator prompt.Add the account
Select Add, type the account name, choose Check Names and confirm. A local account looks like PCNAME\username.Tick Deny on Full control
With the new account selected, tick Deny beside Full control. Windows warns that deny entries take precedence; read it and continue.Test from the blocked account
Use Switch user, sign in as that account and open the path. You should see an access denied message.

Command-line version with icacls
icacls applies or removes the same deny rule in one line from an elevated Command Prompt. The (OI)(CI) flags pass the rule to files and subfolders, and F means Full control. Save the existing permission list first so you can restore it exactly if the result is wrong.
icacls "C:\Private" /save "%USERPROFILE%\perms-backup.txt" /ticacls "C:\Private" /deny "PCNAME\Kid":(OI)(CI)Ficacls "C:\Private"icacls "C:\Private" /remove:d "PCNAME\Kid"The last two lines read the list back and remove the deny entry. Reading the list after every change is cheap and catches typos in the account name before they matter.
Do not run a deny on system folders such as the Windows or Users directories. Repairing those permissions is far harder than creating them.
Where Windows permissions stop
Permissions stop at administrators, at other operating systems that read the disk directly, and at FAT32 or exFAT volumes. They also leave the folder visible and add no password prompt. For those gaps you need encryption, hiding or a locking app, covered in the main guide.
| Situation | Blocked? | Why |
|---|---|---|
| Standard user opens the folder | Yes | Deny entry refuses the request |
| Administrator takes ownership | No | Admins can change permissions |
| Disk read from another system | No | Permissions live in the file system, not the data |
| Folder seen in File Explorer | No | Permissions do not hide names |
| FAT32 or exFAT drive | No | No access list is stored |

If your goal is ransomware defence rather than keeping a person out, read Microsoft's documentation on Controlled folder access, a different feature with a different threat in mind. Our main guide explains both in the free methods section.
How to check your block really works
Verify a block with two tests and one reading: sign in as the blocked account and try the exact path, restart and test again, then read the permission list with icacls. A rule that survives a restart and matches the list is working as intended.
Verification checklist
0 of 5 completed

Windows 11 permission questions
These six answers cover the questions people ask most after trying permissions: whether software is needed, how Deny and Allow interact, USB limits, administrator access, Defender's role and testing. Each gives the rule and the safe next move.
Can I block a folder in Windows 11 without installing anything?
Yes. NTFS permissions work on every Windows 11 edition for free. Add a deny entry for the account to keep out, or use icacls from an elevated Command Prompt. This stops opening and changing by that account, but it adds no password prompt and does not hide the folder.
Does Deny override Allow in Windows permissions?
Generally yes. An explicit deny beats an allow, so a deny on a group that includes you refuses your access too. The one wrinkle is inheritance: an explicit entry set on the folder itself takes priority over a deny inherited from a parent folder.
Why can I not block a folder on my USB stick?
Permissions need a file system that stores access lists. NTFS and ReFS do, while FAT32 and exFAT, which many USB drives use, do not. Reformatting to NTFS erases the drive, so copy the files off first, or use an encrypted archive or locking app for removable media.
Can an administrator remove my deny entry?
Yes. Administrators can take ownership of a folder and edit its permissions, which is why a deny entry keeps out standard users rather than the owner of the PC. For protection against administrators you need encryption with a key they do not hold.
What does Controlled folder access actually block?
It blocks untrusted apps from changing files in protected folders, which targets ransomware. It does not stop another person who signs in as you, so it is no substitute for a deny entry. The feature is off by default and needs Microsoft Defender Antivirus to be the active antivirus.
How do I check the result of my change?
Sign in as the blocked account and open the exact path, then run icacls on the folder to read the permission list. An access denied message plus a deny line in the output confirms the rule. Test again after restarting, because cached tokens can hide mistakes.
When permissions are not enough
Move beyond permissions when you need a password prompt, a hidden folder, protection from administrators or encrypted storage you can carry. A locking app covers those in one window. If none of that applies, a tested deny entry is a fine and free answer.
Need a password prompt as well?
Folder Lock 10 locks, hides and encrypts from one window, with a free edition to test first.
Related reading: fixing a folder blocker that stopped working, alternatives compared by cost and WindowsReport's walkthrough on hiding folders in Windows 11.