Technical Anshu
Tutorials Blog
Controlled Folder Access

Controlled Folder Access Setup in Windows 11 Step by Step

One built-in Windows setting can stop an unknown encryptor at your Documents folder even when the antivirus has never seen it before. It is off by default. Here is the careful way to turn it on.

By Technical AnshuWindows 11Setup Guide
Watch: the video on this channel puts a real ransomware test in front of Windows 11 25H2 inside an isolated lab - this guide explains the defence layers such a test exercises, so you can switch them on

Controlled Folder Access (CFA) is the most underused protection in Windows 11. It guards the folders where your life actually lives - Documents, Pictures, Videos, Music, Desktop - and blocks any program that is not trusted from changing files inside them. A photo editor you installed is fine. A random program that arrived yesterday and suddenly wants to rewrite 500 photos is stopped at the folder gate, whatever the antivirus thinks of it. The reason most PCs fail ransomware tests at this layer is simple: the feature ships switched off. This guide turns it on properly, including the two follow-up steps everyone skips.

Windows Security - Ransomware protection (illustrative panel)
Virus & threat protection Ransomware protection Controlled folder access [ On ] Protected folders Documents, Pictures, Videos, Music, Desktop Allow an app through your genuine programs Default state on a fresh install: OFF. Switching it on is the whole point of this guide.
Illustrative settings panel - wording on your PC may differ slightly
1

Switch It On

  1. Open Windows Security > Virus & threat protection
  2. Scroll to Ransomware protection and click Manage ransomware protection
  3. Turn Controlled folder access to On
  4. Restart the PC once if Windows asks - the guard is now watching the protected folders

That is genuinely all it takes to enable it. Everything after this section is about making it painless, which is where most people give up and switch it back off.

2

Add the Folders That Actually Matter to You

The default protected list covers the standard Windows folders, but most people also keep work in places like D:\Work, a Tally or accounting data folder, or a projects drive. Those are exactly the files ransomware wants.

  1. On the same Ransomware protection page, click Protected folders
  2. Click Add a protected folder and pick each extra folder you care about
  3. Add folders one level up - protecting D:\Work protects everything inside it

Do not add whole drives or system folders. Guard the data, not the plumbing.

3

When a Genuine Program Gets Blocked

Sooner or later CFA will block a real program - an older accounting package, a photo tool, a game saving into Documents. Windows shows a notification and the program simply cannot write. This is a prompt to judge, not a disaster:

  1. Click the notification, or open Protection history in Windows Security to see what was blocked and when
  2. If - and only if - it is a program you installed from a source you trust, go to Allow an app through Controlled folder access
  3. Add that program's main .exe file to the allow list

The discipline that keeps you safe: never allow a program you do not recognise, and never allow something that appeared on its own. Recognised and trusted, or blocked - there is no third option.

4

Live With It for a Week Before Judging It

Almost all CFA friction happens in the first few days, as your regular programs meet the guard for the first time. After you have allowed the handful of genuine tools you use daily, the prompts normally stop. Give it a week of normal work before deciding it is "annoying" - most users who do this step never hear from it again until the day it quietly blocks something it should.

One honest expectation: freshly installed or rarely used software is the usual source of later prompts. That is the guard doing its job - new programs do not get automatic trust with your documents.

5

What Controlled Folder Access Cannot Do

CFA guards files in protected folders against untrusted programs. It does not stop a program you personally allowed, it does not protect folders you never added, and it cannot help if the attack runs with your full permission after you approved every prompt. It is a gate, not a forcefield. Combined with Defender's scanning and an offline backup copy, though, it closes the exact gap - the never-seen-before encryptor - that pure antivirus checking leaves open.

The one rule that keeps this feature safe: when CFA blocks something, allow only programs you can name, that you installed yourself, from a source you trust. Allowing an unknown blocked program "to make the error go away" switches the guard off in practice.

Watch the Full Video

See the test setup and the defences in action on the Technical Anshu channel, then come back and apply the settings on your own PC.

Watch Full Video
Frequently Asked Questions

Will Controlled Folder Access slow down my PC?

In normal use the effect is not noticeable - it only checks writes to protected folders by programs it does not trust yet. The visible cost is an occasional prompt in the first week, not slower performance.

My accounting software cannot save after turning CFA on. What now?

This is the classic case. Find the program in Protection history, confirm it is your genuine installed software, and add its .exe under Allow an app through Controlled folder access. Its data folder can also be added under Protected folders so both sides of the conversation are covered.

Does CFA replace my backup?

No. CFA blocks untrusted programs, but it cannot protect against disk failure, theft, or a program you mistakenly allowed. One backup copy kept offline is still the layer that saves you on the worst day.

This guide is based on the Technical Anshu Windows 11 ransomware test video - defensive guidance only. Stuck on a step? Ask in the video comments - you will get a reply.