6.2 KiB
title, description, keywords, ms.assetid, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, ms.localizationpriority, audience, ms.collection, author, ms.reviewer, ms.author, manager, ms.date
title | description | keywords | ms.assetid | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | ms.localizationpriority | audience | ms.collection | author | ms.reviewer | ms.author | manager | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Deploy Windows Defender Application Control (WDAC) policies by using Microsoft Intune (Windows 10) | You can use Microsoft Intune to configure Windows Defender Application Control (WDAC). Learn how with this step-by-step guide. | security, malware | 8d6e0474-c475-411b-b095-1c61adb2bdbb | w10 | deploy | library | security | medium | ITPro | M365-security-compliance | jsuther1974 | isbrahm | dansimp | dansimp | 04/29/2020 |
Deploy Windows Defender Application Control policies by using Microsoft Intune
Applies to:
- Windows 10
- Windows Server 2016
You can use Microsoft Endpoint Manager (MEM) Intune to configure Windows Defender Application Control (WDAC). Intune includes native support for WDAC, which allows you to configure Windows 10 client computers to only run Windows components and Microsoft Store apps, or to also allow reputable apps as defined by the Intelligent Security Graph (ISG). Using the built-in policies can be a helpful starting point, but many customers may find the available circle-of-trust options to be too limited.
In order to deploy a custom policy through Intune and define your own circle of trust, you can configure a profile using Custom OMA-URI. Beginning in 1903, Custom OMA-URI policy deployment leverages the ApplicationControl CSP, which has support for multiple policies and rebootless policies. Custom OMA-URI can also be used on pre-1903 systems to deploy custom policies via the AppLocker CSP.
Using Intune's Built-In Policies
Intune's built-in WDAC support enables you to deploy a policy which only allows Windows components and Microsoft Store apps to run. This policy is the non-Multiple Policy Format version of the DefaultWindows policy; the Multiple Policy Format version can be found at C:\Windows\schemas\CodeIntegrity\ExamplePolicies.
Setting "Trust apps with good reputation" to enabled is equivalent to adding Option 14 (Enabled: Intelligent Security Graph Authorization) to the DefaultWindows policy.
-
Open the Microsoft Intune portal and click Device configuration > Profiles > Create profile.
-
Type a name for the new profile, select Windows 10 and later as the Platform and Endpoint protection as the Profile type.
-
Click Configure > Windows Defender Application Control, choose from the following settings and then click OK:
- Application control code integrity policies: Select Audit only to log events but not block any apps from running or select Enforce to allow only Windows components and Store apps to run.
- Trust apps with good reputation: Select Enable to allow reputable apps as defined by the Intelligent Security Graph to run in addition to Windows components and Store apps.
Using a Custom OMA-URI Profile
For 1903+ systems
The steps to use Intune's Custom OMA-URI functionality to leverage the ApplicationControl CSP and deploy a custom WDAC policy to 1903+ systems are:
-
Know a generated policy's GUID, which can be found in the policy xml as
<PolicyID>
-
Convert the policy XML to binary format using the ConvertFrom-CIPolicy cmdlet in order to be deployed. The binary policy may be signed or unsigned.
-
Open the Microsoft Intune portal and click Device configuration > Profiles > Create profile.
-
Type a name for the new profile, select Windows 10 and later as the Platform and Custom as the Profile type.
-
Add a row, then give your policy a name and use the following settings:
- OMA-URI: ./Vendor/MSFT/ApplicationControl/Policies/Policy GUID/Policy
- Data type: Base64
- Certificate file: upload your binary format policy file. You do not need to upload a Base64 file, as Intune will convert the uploaded .bin file to Base64 on your behalf.
Note
Upon deletion, policies deployed through Intune via the ApplicationControl CSP are removed from the system but stay in effect until the next reboot. In order to functionally do a rebootless delete, replace the existing policy with an Allow All policy (found at C:\Windows\schemas\CodeIntegrity\ExamplePolicies\AllowAll.xml) and then delete the updated policy. This will immediately prevent anything from being blocked and fully deactive the policy on the next reboot.
For pre-1903 systems
The steps to use Intune's Custom OMA-URI functionality to leverage the AppLocker CSP and deploy a custom WDAC policy to pre-1903 systems are:
- Convert the policy XML to binary format using the ConvertFrom-CIPolicy cmdlet in order to be deployed. The binary policy may be signed or unsigned.
- Open the Microsoft Intune portal and click Device configuration > Profiles > Create profile.
- Type a name for the new profile, select Windows 10 and later as the Platform and Custom as the Profile type.
- Add a row, then give your policy a name and use the following settings:
- OMA-URI: ./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Grouping/CodeIntegrity/Policy)
- Data type: Base64
- Certificate file: upload your binary format policy file
Note
Policies deployed through Intune via the AppLocker CSP cannot be deleted through the Intune console. In order to disable WDAC policy enforcement, either deploy an audit-mode policy and/or use a script to delete the existing policy.
Note
Deploying policies via the AppLocker CSP will force a reboot during OOBE.