A desktop monitor displays a cybersecurity interface protecting personal files from a hooded hacker.
Ransomware has a simple business model: get onto your PC, scramble the files you care about, and charge you to get them back. Windows 11 has a built-in feature aimed at that problem. It's called Controlled folder access (CFA), and Microsoft ships it switched off. So should you turn it on?

For most personal Windows 11 PCs running Microsoft Defender Antivirus, the answer is probably yes, as long as you know the trade-offs. This guide covers what CFA does and doesn't do, how to enable it, what to check afterwards, and how to fix the most common problem: a trusted app that suddenly can't save a file.

A desktop monitor displays a cybersecurity interface protecting personal files from a hooded hacker. What Controlled folder access actually does​

Microsoft's Windows 11 documentation on Microsoft Learn describes CFA as a way to protect valuable data from malicious apps and threats such as ransomware. It works with a list of trusted apps. Apps on that list can read and write files in protected folders normally. Apps that aren't on it can't modify or remove files inside those folders.

Microsoft's Defender for Endpoint overview explains how apps get trusted. Defender assesses executable files, including .exe, .scr and .dll files, and automatically trusts most apps based on how common they are and their reputation. Microsoft says you shouldn't need to add most apps yourself, and you won't see the automatically trusted list in Windows Security.

The same overview says CFA also stops untrusted apps from writing directly to the disk sectors that hold the boot record. That's meant to block bootkits and disk-wiper malware.

What it does not do: CFA controls which apps can change files. It is not a backup and it has no version history. Microsoft's documentation doesn't say it can recover files after an accidental deletion, a dead drive, or an attack that succeeds some other way. You still need separate backups.

Section summary: CFA lets known apps work normally and blocks unknown ones from changing files in protected folders. It's a gate, not a safety net.

Before you start: the requirements​

Some guides skip this part. According to Microsoft's Defender for Endpoint documentation, CFA needs:

  • Microsoft Defender Antivirus as your main antivirus, running in Active mode. CFA doesn't work in Passive mode, in limited periodic scanning, or when Defender is off.
  • Real-time protection turned on.

Microsoft's support documentation notes that installing a compatible non-Microsoft antivirus program turns Defender Antivirus off automatically. So if the CFA switch is missing or won't respond, check which antivirus is actually active before assuming Windows is broken. Geekrewind also reports that if Real-time Protection is off, the Controlled Folder Access switch is greyed out in Windows Security.

Windows edition isn't a problem. Microsoft says CFA works on any edition of Windows that includes Defender Antivirus, Windows 11 Home included. You'll need administrator rights to change the setting, and NinjaOne's guide lists administrative rights as a prerequisite.

How to turn on Controlled folder access in Windows 11​

  1. Open Start, search for Windows Security, and open it.
  2. Select Virus & threat protection.
  3. Under Ransomware protection, select Manage ransomware protection.
  4. Turn Controlled folder access to On.
  5. Approve the User Account Control prompt if it appears.

Microsoft's own documentation describes two routes to the same switch, so don't worry if your screen looks a little different. Microsoft Support uses the route above, through Virus & threat protection > Manage ransomware protection. Microsoft's configuration guide for Defender for Endpoint gives a different one: in the Virus & threat protection pane, in the Controlled folder access section, select Manage controlled folder access. That option sits under Manage settings. Either way you end up on the Ransomware protection page. Use whatever labels your PC shows.

How-To Geek notes that once CFA is on, you'll see three new options: Block History, Protected Folders, and Allow an App Through Controlled Folder Access.

Home users vs. admins: The Windows Security app only offers On and Off. Microsoft's documentation lists more modes: Audit Mode, which logs what would have been blocked without blocking it, and two modes that only protect the boot sectors. Those are available through Intune, Group Policy, PowerShell and the Policy CSP, but not in the Windows Security app. For organisations, Microsoft recommends starting in Audit Mode before moving to full blocking.

Step two: check which folders are protected​

This step matters more than flipping the switch, and sources don't fully agree on the default list.

  • Microsoft's support page for the Windows Security app lists Documents, Pictures, Videos, Music and Desktop as defaults.
  • Microsoft's Defender for Endpoint overview gives a longer path list: the user's Documents, Favorites, Music, Pictures and Videos folders, the Public Documents, Music, Pictures and Videos folders, and the hard drive boot sectors.
  • Microsoft's short Windows 11 overview says protected folders typically include documents, pictures and downloads.

Because of these differences, don't assume. Check the list on your own PC:

  1. On the Ransomware protection page, select Protected folders. Microsoft says the default folders appear at the bottom of the list once CFA is on.
  2. Or open PowerShell as administrator and run (Get-MpPreference).ControlledFolderAccessDefaultProtectedFolders. Microsoft says this only returns the list while CFA is enabled.

Some useful details from Microsoft's documentation:

  • You can't remove the default folders, but you can add more. Subfolders of an added folder are protected too.
  • Redirected folders stay protected. If OneDrive Known Folder Move has moved your Documents or Pictures folder, CFA protects it in the new location.
  • Network shares and mapped drives are supported. Environment variables work, but wildcards don't.
  • Performance can suffer on shared network folders. Microsoft warns that untrusted processes accessing shared network folders can cause a significant slowdown because of the extra queries to the file server.

If you keep family photos on a second drive or work projects in a custom folder, select Add a protected folder and include them. A protected Documents folder doesn't help if your important files live somewhere else.

Step three: test the apps you rely on​

After turning CFA on, open a file in an app you use every day and save a copy into a protected folder. If it saves normally, you're done with that app. This only proves that one app works, though. Your old photo editor, a game's save system, or a small utility from 2014 might behave differently.

Windows Report says the apps most likely to have trouble are older editors, games and utilities. It also says these problems can usually be fixed one app at a time.

When a trusted app can't save a file​

Don't turn CFA off straight away. Follow these steps:

  1. Find out what was blocked. Check the Windows Security notification or Protection history for the app name and folder.
  2. Check the app's identity. Confirm the program name and its full file path. Is it really your editor, installed where you expect it?
  3. If you don't recognise it, leave the block alone. That's CFA doing its job.
  4. If you recognise it and meant to make the change, go to Manage ransomware protection > Allow an app through Controlled folder access > Add an allowed app. Choose Recently blocked apps and select the program. You can also use Browse all apps to find its .exe file yourself.
  5. Restart the app and try saving again.

Restarting isn't optional. Microsoft's documentation says an allowed app only takes effect when the app or service starts. A service that was already running will keep triggering blocks until you restart it.

Two more details from Microsoft:

  • Exceptions are tied to a path. Only the app at the location you specify is allowed. A program with the same name in a different folder can still be blocked, which makes it harder for malware to borrow a trusted app's name.
  • Script engines aren't trusted by default. PowerShell won't be allowed through unless you add it as an allowed app yourself. Think hard before you do.

If you need a file saved urgently, Microsoft Support suggests saving it somewhere outside the protected folders first, then unblocking the app.

The security trade-off: Microsoft warns that any app you add can access files in protected folders. If that app is ever compromised, your data in those folders could be at risk. Allow only the specific app you've checked, and only if it really needs to write there.

Managed PCs: ask your administrator​

If your work PC has the switch greyed out or set by policy, your IT department is probably managing CFA through Intune, Configuration Manager or Group Policy. Microsoft's configuration documentation lists the Group Policy location as Computer configuration > Administrative templates > Windows components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access. Ask your administrator about it rather than trying to get around the policy.

Turning it off​

If CFA causes more trouble than it's worth on a personal PC, turn off the same switch on the Ransomware protection page. Windows Report notes that your files stay where they are. The feature simply stops limiting which apps can change them.

The verdict​

CFA is worth turning on if:

  • Defender is your active antivirus and real-time protection is on.
  • You check the protected folder list and add any important locations it misses.
  • You're willing to approve an occasional blocked app after checking it.

It may not suit you if you rely on a lot of older, unusual or self-built tools, or if your work runs heavily through shared network folders where Microsoft warns of slowdowns. Some power users will find the occasional block irritating, and that's a reasonable complaint. Still, a few blocked saves are a small price compared with losing every file you own to ransomware.

Whatever you decide, keep a separate backup with version history. CFA can stop an unknown app from changing your files, but it can't restore anything that's already been lost or damaged.

 

References

  1. Should You Turn On Controlled Folder Access in Windows 11? Windows Report 2026-11-28T18:52:30+00:00
  2. How to Enable or Disable Controlled Folder Access for Microsoft Defender Antivirus in Windows 11 geekrewind.com
  3. Configure Protected Folders for Controlled Folder Access ninjaone.com