|

How To Allow An App Through Controlled Folder Access (2026)

Windows Security can show a pop-up saying that Controlled folder access blocked an app from making changes.

The same feature can also make an app fail to save a file into Documents, Pictures, Videos, Music or Desktop.

The fix is to allow that one app, and Microsoft gives exact steps for it.

Quick answer

What you seeWhat to do
A pop-up says Controlled folder access blocked an appAllow the app under Ransomware protection, then restart the app
An app cannot save into Documents or PicturesAllow the app, or save the file to a folder that is not protected
You do not want the feature at allTurn the Controlled folder access toggle off
The allowed app still triggers blocksClose it fully and start it again

What Controlled folder access does

Controlled folder access is part of Microsoft Defender Antivirus and is aimed at ransomware.

It lets only trusted apps change files in protected folders, and it blocks the attempt and notifies you when an untrusted app tries.

Microsoft says the feature is off by default, so a block message means someone or something turned it on.

What has to be true for it to work

Microsoft Defender Antivirus must be your primary antivirus and be in Active mode.

Real-time protection must also be on, or the feature does not work.

It is available on any Windows edition that includes Microsoft Defender Antivirus, including Windows 11 Home.

What the block message looks like

Microsoft’s example pop-up reads like “Controlled folder access blocked” followed by the app’s path and the words “from making changes to memory.”

The Windows Security help page words the short version of the message as “App is blocked.”

Windows also records a Protection history entry named Protected memory access blocked.

Write down the path of the blocked app before you close the message, because you may need it.

Allow an app through Controlled folder access

These steps come from Microsoft’s Controlled folder access page.

  1. Open the Windows Security app and select Virus & threat protection.
  2. Under Virus & threat protection settings, select Manage settings.
  3. Under Controlled folder access, select Manage controlled folder access.
  4. On the Ransomware protection pane, select Allow an app through Controlled folder access and select Yes at the User Account Control prompt.
  5. Select + Add an allowed app.
  6. Pick the app under Recently blocked apps, or select Browse all apps and choose its .exe or .com file.

Microsoft’s Windows Security help page adds a shortcut: select the block message itself, then select Add an allowed app and browse to the program.

Microsoft warns to be thoughtful about which apps you add, because a trusted app can reach your protected folders and a compromised one could put that data at risk.

Restart the app after you allow it

An allowed app takes effect only when the app or service starts.

Microsoft’s example is an update service that is already running, which keeps raising blocks until it restarts.

So close the program completely, including any background service, and open it again before you test.

Microsoft also says an allowed app is tied to the location you gave, so a copy with the same name in another folder is not allowed.

If a save fails right now

Microsoft’s help page suggests saving the file to a different location first.

Then unblock the app with the steps above and save to the original folder.

That keeps your work safe while you decide whether to trust the app.

Which folders are protected

LocationProtected by default
C:\Users\<username>\Documents, Favorites, Music, Pictures, VideosYes
C:\Users\Public\Documents, Music, Pictures, VideosYes
Hard drive boot sectorsYes
OneDrive redirected Documents, Pictures or DesktopYes, the redirected location is protected

Microsoft says you cannot change the default list.

You can add your own folders, and their subfolders are protected as well.

Add or remove a protected folder

  1. On the Ransomware protection pane, select Protected folders and select Yes at the User Account Control prompt.
  2. Select + Add a protected folder.
  3. Find the folder and select it, and repeat for more folders.

Network shares and mapped drives work, but wildcards are not supported in protected folder paths.

Microsoft warns that protecting shared network folders can noticeably slow network access when an untrusted process touches them.

Turn Controlled folder access on or off

On the same Ransomware protection pane, slide the Controlled folder access toggle to On or Off.

Select Yes at the User Account Control prompt.

If you set protected folders and allowed apps earlier and then turn the feature back on, Windows asks whether to keep them.

Your protected folders and allowed apps take effect only while the toggle is on.

How Windows decides which apps are trusted

QuestionMicrosoft’s answer
Which apps are trusted automatically?Most apps, judged on prevalence and reputation
Is that automatic list visible?No, it is not shown in Windows Security
What triggers a block?An app with an unknown reputation
Are script engines like PowerShell trusted?No, they must be added as allowed apps

Microsoft says you should not need to add most apps, so add one only when it is blocked and you can verify that it is trustworthy.

What the Windows Security app cannot do

The Windows Security app supports only On and Off for this feature.

Audit mode and the disk-modification modes need Intune, Configuration Manager, Group Policy, the Policy CSP or PowerShell.

Microsoft recommends the app for a single device and management tools for many devices.

If a scan or threat message worries you, read how to run a Microsoft Defender Offline scan.

If Windows Security itself is using a lot of processor time, see the Antimalware Service Executable fix.

For app warnings from a different feature, see how to turn off SmartScreen warnings and how to turn off Memory Integrity.

Sources

Microsoft Support: Virus and threat protection in the Windows Security app.

Microsoft Learn: Configure controlled folder access and Protect folders from ransomware with controlled folder access.

Leave a Reply

Your email address will not be published. Required fields are marked *