Use controlled folder access
Controlled folder access in Windows Security reviews the apps that can make changes to files in protected folders and blocks unauthorized or unsafe apps from accessing or changing files in those folders.
-
Select Start > Settings > Update & Security > Windows Security > Virus & threat protection.
See AlsoFiles Automatically Encrypted, How to Remove Encryption from Files[Windows 11] How to disable Device encryption & Standard BitLocker encryption | Official Support | ASUS USAHow to set minimum NTFS permissions and user rights for IIS 5.x or IIS 6.0How to Protect Your Files With Built-In NTFS File Encryption on Windows 10 -
Under Virus & threat protection settings, select Manage settings.
-
Under Controlled folder access, select Manage Controlled folder access.
-
Switch the Controlled folder access setting to On or Off.
Occasionally, an app that is safe to use will be identified as harmful. This happens because Microsoft wants to keep you safe and will sometimes err on the side of caution; however, this might interfere with how you normally use your PC. You can add an app to the list of safe or allowed apps to prevent them from being blocked.