How to Turn On Ransomware Protection in Windows 11: Controlled Folder Access
Windows 11 has a built-in ransomware shield called Controlled Folder Access, and it is off by default. Here are the steps to turn it on and fix blocked apps.
By Galactic News Editorial · Published 2026-11-22T20:08:48+00:00 · Updated 2026-11-22T20:08:48+00:00
How to Turn On Ransomware Protection in Windows 11: Controlled Folder Access
Windows 11 has a built-in ransomware shield. It is called Controlled Folder Access. It stops untrusted apps from changing files in your protected folders. It is off by default. Turning it on takes about a minute. This guide shows the exact steps, what it protects, and how to fix it when it blocks a trusted app.
How to Turn On Ransomware Protection Windows 11
Controlled Folder Access lives inside the Windows Security app. It works with Microsoft Defender Antivirus. Follow these steps.
- Press the Windows key and type Windows Security. Press Enter.
- Select Virus & threat protection in the left sidebar.
- Scroll down to the Ransomware protection section.
- Click Manage ransomware protection.
- Under Controlled folder access, switch the toggle to On.
- If a permission prompt appears, click Yes.
That is the whole setup. Protection starts at once. Check the toggle after a Windows update, since major updates can reset security settings. If you use a third-party antivirus, these menus may not appear. Controlled Folder Access needs Microsoft Defender to be active.
What Controlled Folder Access Protects
Controlled Folder Access guards folders against changes by apps it does not trust. Microsoft's documentation states that it helps protect valuable data from malicious apps and threats, such as ransomware, by preventing untrusted apps from changing files in protected folders.
By default, it protects the Documents, Pictures, Videos, Music, and Favorites folders. OneDrive folders are protected automatically when you turn it on. You can add more folders. Any folder that holds work files, photos, or backups is a good candidate.
It blocks changes. It does not block viewing or copying. Malware that only reads files can still copy them. That is why this feature is one layer, not a full defense. Backups remain essential.
How to Add a Protected Folder
Your most important files may sit outside the default folders. Add them by hand.
- Open Windows Security, then Virus & threat protection.
- Click Manage ransomware protection.
- Click Protected folders.
- Click Add a protected folder.
- Pick the folder and click Select Folder.
Repeat for each folder you want guarded. External drives and network folders can be added too, though Microsoft notes some limits for network locations. Check the result after adding a folder.
How to Allow a Trusted App Through Controlled Folder Access
Controlled Folder Access sometimes blocks a safe app. Older software and niche tools are the usual cases. Reports have noted it blocking Microsoft's own apps, such as Notepad and Paint, in the past. The fix is to allow the app by hand.
- Go back to the Manage ransomware protection screen.
- Click Allow an app through Controlled folder access.
- Click Add an allowed app.
- Choose Recently blocked apps to pick from the list, or browse to the app's executable file.
- Select the app and confirm.
Only allow apps you recognize and trust. Allowing an app gives it full write access to protected folders. If you are unsure about an app, check the Block history first. It shows what was blocked and when.
Audit Mode: Test Before You Enforce
On a work computer or a shared PC, turning the feature straight on can break apps. Microsoft offers an Audit Mode. It logs what would have been blocked without blocking anything.
To use it, open an elevated PowerShell window and run Set-MpPreference -EnableControlledFolderAccess AuditMode. Watch the logs for a few days. Then switch to full protection with Set-MpPreference -EnableControlledFolderAccess Enabled. Check the current mode any time with Get-MpPreference | Format-Table EnableControlledFolderAccess.
Businesses can manage the same setting through Group Policy or Intune. The Group Policy path is Computer Configuration, Administrative Templates, Windows Components, Microsoft Defender Antivirus, Microsoft Defender Exploit Guard, Controlled Folder Access.
What to Do If Ransomware Strikes Anyway
No single feature stops every attack. Know the response in advance.
First, disconnect the computer from the network. Unplug the cable or turn off Wi-Fi. This stops the malware from reaching shared drives and other devices. Do not shut the computer down yet. Some recovery tools need the system running.
Second, do not pay the ransom. Payment does not guarantee your files come back. It marks you as a payer. Law enforcement agencies advise against paying. Report the attack to local authorities and to the FBI's Internet Crime Complaint Center if you are in the United States.
Third, restore from your offline backup. This is the moment the backup earns its keep. Wipe the infected machine and reinstall Windows from trusted media. Then restore files from the backup drive. Check the restored files before reconnecting to the network.
Fourth, change your passwords. Start with email and banking. Use a different password for each account. Turn on two-factor authentication where it is offered. A password manager makes this practical.
Finally, find the entry point. Most ransomware arrives through a phishing email or an unpatched program. Check what was opened or installed just before the attack. Fix that gap before the machine goes back to daily use.
What Ransomware Protection Cannot Do
Controlled Folder Access is useful. It is not complete protection. Know its gaps.
It does not stop phishing. A malicious attachment still needs you to open it. It does not stop data theft. Ransomware that copies files before encrypting them still gets a copy. It does not replace backups. If ransomware reaches a backup drive that is always connected, it can encrypt that too.
Pair it with offline backups. Keep a copy of important files on a drive you disconnect after each backup. Keep Windows and your browser updated. Treat unexpected attachments with suspicion, even from known senders.
Bottom Line
Turn on Controlled Folder Access in Windows Security under Virus and threat protection, then Manage ransomware protection. It guards your Documents, Pictures, and other chosen folders against untrusted apps. Add your important folders, allow trusted apps that get blocked, and keep an offline backup. That combination covers the gaps no single switch can close.