Open the Ransomware protection page
Open **Windows Security > Virus & threat protection**, scroll to **Ransomware protection**, and click **Manage ransomware protection**. This is where Controlled Folder Access lives.
Enable Controlled Folder Access, add your real data folders, and whitelist trusted apps without breaking daily workflows.
Turn on **Controlled folder access** in **Windows Security**, add your Documents and project folders, then allow the few apps that legitimately write to them.
Open **Windows Security > Virus & threat protection**, scroll to **Ransomware protection**, and click **Manage ransomware protection**. This is where Controlled Folder Access lives.
Toggle **Controlled folder access** to **On** and accept the UAC prompt. By default it protects Documents, Pictures, Videos, Music, Desktop and Favorites for every user.
Click **Protected folders > Add a protected folder** and add any custom paths that hold valuable data, such as a projects directory or a game-saves root.
D:\\Projects
Open **Windows Security > Virus & threat protection > Protection history** and filter by **Controlled folder access**. Every blocked write shows the app path and the target folder.
Back on the Ransomware protection page click **Allow an app through Controlled folder access > Add an allowed app > Recently blocked apps**, then pick the apps you trust (editor, Git client, backup tool).
Open PowerShell as a normal user and try to create a file in a protected folder from an unlisted app. Defender should block it and log the attempt in Protection history.
Set-Content -Path "$env:USERPROFILE\Documents\cfa-test.txt" -Value "test"
Add the game's executable via **Allow an app through Controlled folder access**, or move the save folder out of a protected path if the game writes under a system identity.
Real-time protection must be enabled and no third-party antivirus active. Check **Virus & threat protection settings** and uninstall other AV products first.
They are usually auto-trusted. If not, add winword.exe, excel.exe and powerpnt.exe from Program Files via the allow-app dialog.
No. It blocks unknown writes, but you still need offline or cloud backups against hardware failure and account compromise.
Yes, with Set-MpPreference -EnableControlledFolderAccess Enabled from an elevated prompt.
Impact is minimal in day-to-day use; large build systems writing thousands of files per second can see overhead.
Open **Windows Security > Virus & threat protection > Manage ransomware protection** and toggle **Controlled folder access** off, or run Set-MpPreference -EnableControlledFolderAccess Disabled from an elevated PowerShell.
Free · no account needed · tracks your progress