Controlled folder access is a free ransomware protection feature built into Windows Security. When it is on, only apps Windows trusts can change files in protected folders such as Documents and Pictures; anything else is blocked and you get a notification. It is off by default, works on Windows 11 Home and Pro, and takes about a minute to turn on.
What Is Controlled Folder Access in Windows?
Controlled folder access is a feature of Microsoft Defender Antivirus that stops untrusted apps from modifying, encrypting or deleting files in folders you choose to protect. It targets ransomware, the type of malware that encrypts your files and demands payment to unlock them.
Most antivirus tools try to recognise malware before it runs. Controlled folder access works the other way round: it doesn't need to recognise the attacker, because any app that isn't trusted simply can't write to your protected folders. Microsoft explains that Defender automatically trusts most apps based on their prevalence and reputation, so everyday software such as Office, browsers and photo editors keeps working without extra setup.
Microsoft's controlled folder access technical documentation lists the requirements and modes in full.
Which Folders Does Controlled Folder Access Protect?
Controlled folder access protects your common user folders by default, including Documents, Pictures, Videos and Music, along with the matching Public folders and the disk's boot sectors. You can add any other folder, and its subfolders are protected too.
| Item | Detail |
|---|---|
| Default state | Off; you turn it on in Windows Security |
| Editions | Any Windows edition with Microsoft Defender Antivirus, including Windows 11 Home and Pro |
| Requirement | Defender must be the active antivirus with real-time protection switched on |
| Default protected locations | Common user folders (Documents, Pictures, Videos, Music and similar), Public folders, boot sectors |
| Can defaults be removed? | No; you can only add extra folders |
| OneDrive-redirected folders | Protected in their redirected location |
| Central management and reporting | Pro and Enterprise editions, via Group Policy, Intune or Defender for Endpoint |
The requirement row is the one to note. If you run a third-party antivirus, Defender switches to a passive role and controlled folder access stops working, because it depends on Defender's real-time protection. Our guide to the best antivirus for Windows 11 looks at whether you need a third-party product at all.
How Do You Turn On Controlled Folder Access?
You turn on controlled folder access from the Ransomware protection page in the Windows Security app.
- Open Start, type Windows Security and open the app.
- Select Virus & threat protection.
- Scroll to Ransomware protection and select Manage ransomware protection.
- Switch Controlled folder access to On and accept the User Account Control prompt.
- Select Protected folders to review the list, then Add a protected folder to include anything else important, such as a projects folder on a second drive.
Microsoft's support article Ransomware protection in Windows Security walks through the same page, including the OneDrive-based ransomware data recovery section underneath.
What Does "Protected Folder Access Blocked" Mean?
"Protected folder access blocked" means an app that Windows doesn't trust tried to change a file in a protected folder, and controlled folder access stopped it. It is the feature working, not an error, but sometimes the blocked app is one you use.
Common examples are older games saving into Documents, small utilities, backup tools and script engines. Microsoft notes that script hosts such as PowerShell aren't trusted automatically, so a PowerShell script that writes to a protected location can trigger a block even when the script is harmless. The notification names the app and the path it tried to change.
How do you allow a blocked app?
Only allow an app if you know exactly what it is and where it came from.
- Note the app's full file path from the notification.
- Open Windows Security → Virus & threat protection → Manage ransomware protection.
- Select Allow an app through Controlled folder access and confirm the prompt.
- Choose Add an allowed app and browse to the program file, or pick it from the recently blocked list if Windows offers one.
- Restart the app so the change takes effect.
Allowing an app is different from adding a Defender exclusion. An exclusion stops Defender scanning a file or folder; an allowed app is still scanned but may write to protected folders. Our guide to adding Windows Defender exclusions safely explains when each is appropriate.
Why Am I Getting "Folder Access Denied" Messages?
"You currently don't have permission to access this folder" is usually a file permission (NTFS) message, not controlled folder access. NTFS permissions decide which user accounts can open a folder; controlled folder access decides which apps can change files inside it.
If you see a permission prompt when opening a folder in File Explorer, select Continue if you are an administrator, or check the folder's Properties → Security tab. If instead a specific app fails to save a file and Windows Security shows a block notification, that is controlled folder access. Telling the two apart saves a lot of unnecessary troubleshooting.
Should You Turn On Controlled Folder Access?
For most people who use Microsoft Defender, yes. It adds a strong second layer against ransomware for almost no cost, and the occasional blocked app is easy to allow.
It suits laptops holding work documents, family PCs with irreplaceable photos and small offices without dedicated IT. It is less convenient for developers and power users who run lots of scripts or unsigned tools, since those will be blocked until allowed. Pair it with Smart App Control, which blocks untrusted apps from running in the first place, and a regular backup, because no single feature protects against everything.
A Common Mistake We See
People turn on controlled folder access, a game or utility fails to save, and they switch the whole feature off rather than allowing the one app. A month later the protection is forgotten.
Allow the specific app instead, and only after checking its path is where you installed it. Microsoft points out that an allowed app can write to protected folders, so if that app is ever compromised your files are exposed. On Windows 11 Pro, the same feature can be managed across several PCs with Group Policy, which helps small offices keep settings consistent; see Windows 11 Pro if you need those management tools.
Frequently Asked Questions
Is controlled folder access available on Windows 11 Home?
Yes. Controlled folder access works on any Windows edition that includes Microsoft Defender Antivirus, including Windows 11 Home. You turn it on in Windows Security under Virus & threat protection. Central management through Group Policy or Intune needs Pro or Enterprise, but the protection itself is the same.
Does controlled folder access slow down my PC?
In normal use you shouldn't notice a difference. Defender already scans files in real time, and controlled folder access only adds a trust check when an app tries to change files in a protected folder. The main side effect is the occasional blocked app, which you can allow once.
Why does controlled folder access block PowerShell?
Microsoft doesn't automatically trust script engines such as PowerShell, because attackers often use them to run malicious code. If a script you trust needs to write to a protected folder, add PowerShell as an allowed app. Be aware this lets every PowerShell script write there, so weigh the risk carefully.
Does controlled folder access work with other antivirus software?
No. It depends on Microsoft Defender Antivirus running in active mode with real-time protection on. When you install a third-party antivirus, Defender steps back and controlled folder access stops working. Check whether your third-party product offers its own ransomware folder protection before relying on it.
Is controlled folder access the same as a backup?
No. Controlled folder access tries to stop ransomware changing your files, while a backup lets you recover them if something gets through. Use both. OneDrive's file restore, linked from the Ransomware protection page, or an offline external drive gives you a copy that malware on your PC can't reach.
Conclusion
Controlled folder access is one of the most useful protections already included in Windows, and it costs nothing to switch on. Turn it on, allow the few trusted apps that need it and keep a backup. If you are setting up a new PC, our Windows 11 licences include Windows Security with this protection built in.
Useful Links
| Resource | Link |
|---|---|
| Windows 11 licences | Windows 11 collection |
| Defender exclusions | How to add Windows Defender exclusions safely |
| Smart App Control | What is Smart App Control in Windows 11? |
| Antivirus choices | Best antivirus for Windows 11 |
| Ransomware protection (Microsoft) | Ransomware protection in Windows Security |
| Technical reference (Microsoft) | Controlled folder access documentation |
Deixe um comentário