Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

The Ransomware protection page in Windows Security has settings for both protecting against ransomware, and recovering if you happen to get attacked.

Controlled folder access

Controlled folder access designates specific folders which only trusted apps are allowed to access. This prevents the contents of the folders from being changed, or encrypted, by malware such as ransomware.

Enable controlled folder access by turning it on with the toggle. By default key folders such as Windows system folders, your default documents and pictures folders, and others are automatically protected. 

To add protected folders:

  1. Go to Start  > Settings  > Update & Security  >Windows Security , and then select Virus & threat protection.

  2. Under Virus & threat protection settings, select Manage settings.

  3. Under Controlled folder access, select Manage Controlled folder access.

  4. Under Controlled folder access, select Protected folders.

  5. Select Add a protected folder and follow the instructions to add folders.

You can add additional apps to the trusted list by selecting Allow an app through Controlled folder access then Add an allowed app.

Caution: Be thoughtful about which apps you add here; any added apps will be able to access the files in the protected folders and if that app gets compromised the data in those folders could be at risk.

Additionally, if you see an App is blocked message when you try to use a familiar app, you can simply unblock the app. Here's how:

  1. Write down or take note of the path of the blocked app.

  2. Select the message, and then select Add an allowed app.

  3. Browse for the program to which you want to allow access.

Note: If you try to save a file to a folder and the folder is blocked, that means the app you’re using is blocked from saving to that location. If that happens, save the file to another location on your device. Then use the previous steps to unblock the app, and you’ll be able to save the files to your desired location.

For more details about controlled folder access see Protect important folders with controlled folder access.

See also

How malware can infect your PC

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×