6.2 KiB
title, keywords, description, search.product, ms.pagetype, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, ms.localizationpriority, author, ms.author, ms.date
title | keywords | description | search.product | ms.pagetype | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | ms.localizationpriority | author | ms.author | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Turn on the protected folders feature in Windows 10 | Controlled folder access, windows 10, windows defender, ransomware, protect, files, folders, enable, turn on, use | Learn how to protect your important files by enabling Controlled folder access | eADQiWindows 10XVcnh | security | w10 | manage | library | security | medium | andreabichsel | v-anbic | 03/29/2019 |
Enable controlled folder access
Applies to:
Controlled folder access helps you protect valuable data from malicious apps and threats, such as ransomware. It is part of Windows Defender Exploit Guard. Controlled folder access is supported on Windows Server 2019 as well as Windows 10 clients.
You can enable controlled folder access by using any of the these methods:
- Windows Security app
- Intune
- MDM
- Group Policy
- PowerShell cmdlets
Audit mode allows you to test how the feature would work (and review events) without impacting the normal use of the machine.
Note
The Controlled folder access feature will display the state in the Windows Security app under Virus & threat protection settings. If the feature is configured with Group Policy, PowerShell, or MDM CSPs, the state will change in the Windows Security app after a restart of the device. If the feature is set to Audit mode with any of those tools, the Windows Security app will show the state as Off. See Use audit mode to evaluate Windows Defender Exploit Guard features for more details on how audit mode works.
Group Policy settings that disable local administrator list merging will override controlled folder access settings. They also override protected folders and allowed apps set by the local administrator through controlled folder access. These policies include: - Windows Defender Antivirus **Configure local administrator merge behavior for lists** - System Center Endpoint Protection **Allow users to add exclusions and overrides** For more information about disabling local list merging, see [Prevent or allow users to locally modify Windows Defender AV policy settings](https://docs.microsoft.com/windows/security/threat-protection/windows-defender-antivirus/configure-local-policy-overrides-windows-defender-antivirus#configure-how-locally-and-globally-defined-threat-remediation-and-exclusions-lists-are-merged).
Windows Security app
-
Open the Windows Security app by clicking the shield icon in the task bar or searching the start menu for Defender.
-
Click the Virus & threat protection tile (or the shield icon on the left menu bar) and then click Ransomware protection.
-
Set the switch for Controlled folder access to On.
Intune
- Sign in to the Azure portal and open Intune.
- Click Device configuration > Profiles > Create profile.
- Name the profile, choose Windows 10 and later and Endpoint protection.
- Click Configure > Windows Defender Exploit Guard > Network filtering > Enable.
- Type the path to each application that has access to protected folders and the path to any additional folder that needs protection and click Add.
- Click OK to save each open blade and click Create.
- Click the profile Assignments, assign to All Users & All Devices, and click Save.
MDM
Use the ./Vendor/MSFT/Policy/Config/ControlledFolderAccessProtectedFolders configuration service provider (CSP) to allow apps to make changes to protected folders.
Group Policy
-
On your Group Policy management machine, open the Group Policy Management Console, right-click the Group Policy Object you want to configure and click Edit.
-
In the Group Policy Management Editor go to Computer configuration and click Administrative templates.
-
Expand the tree to Windows components > Windows Defender Antivirus > Windows Defender Exploit Guard > Controlled folder access.
-
Double-click the Configure Controlled folder access setting and set the option to Enabled. In the options section you must specify one of the following:
- Enable - Malicious and suspicious apps will not be allowed to make changes to files in protected folders. A notification will be provided in the Windows event log
- Disable (Default) - The Controlled folder access feature will not work. All apps can make changes to files in protected folders.
- Audit Mode - If a malicious or suspicious app attempts to make a change to a file in a protected folder, the change will be allowed but will be recorded in the Windows event log. This allows you to assess the impact of this feature on your organization.
Important
To fully enable controlled folder access, you must set the Group Policy option to Enabled and also select Enable in the options drop-down menu.
PowerShell
-
Type powershell in the Start menu, right click Windows PowerShell and click Run as administrator.
-
Enter the following cmdlet:
Set-MpPreference -EnableControlledFolderAccess Enabled
You can enable the feature in audit mode by specifying AuditMode
instead of Enabled
.
Use Disabled
to turn the feature off.