
Next we need to export that policy so we can use it in Intune. Now we have a local policy created that blocks the built-in mail app. In our example we’ll choose the one with Package Name = microsoft.windowscommunicationsapp which is the Windows Mail app. Here is where we select the app we want to block. Select Use an installed packaged app as a reference and click Select.ħ. In this example we want to deny everyone access to the Mail app, so on the next screen select Deny and specify Everyone, then click Next.Ħ. This will start the Create Packaged app Rules wizard. Now create another new Package app Rule by right-clicking Packaged app Rules and selecting Create New Rule.

Note that this setting only applies to Modern Apps and not Win32 applications.Ĥ. This will create a rule that allows all signed apps to be executed. First, right-click Packaged app Rules and select Create default Rules. Next we need to create two Packaged app Rules: one default rule to allow all apps to run, and another rule to block our particular app. Under Computer Configuration\Windows Settings\Security Settings\Application Control Policies\AppLocker, right-click and select Properties, then enable Packaged app Rules and select Enforce rules.
Applocker windows enterprise windows 10#
On a computer running Windows 10 Enterprise, start Group Policy Editor (GPEdit).Ģ. The first step is to generate the XML we need for Intune by modelling the policy on a Windows 10 computer.ġ. You can find all of our documentation on Windows AppLocker here, and in this post I’ll walk you through an example using this process to block the built-in Mail app on Windows 10 computers. Once the custom policy is deployed, the same policy behavior we modeled with AppLocker in Group Policy Editor is then applied to our targeted Windows 10 devices. We then export the XML for that policy and use it to create a new, custom Windows 10 Device Configuration policy in Intune.

The process flow goes like this: We first model the policy we want to implement using AppLocker in Group Policy Editor. In enterprise environments it is typically configured via Group Policy, however we can leverage the XML it creates to easily build our own custom policies that perform many of the same tasks with Microsoft Intune.
Applocker windows enterprise windows 7#
Windows AppLocker is a technology first introduced in Windows 7 that allow you to restrict which programs users can execute based on the program's attributes. His example demonstrates just how easy it is to create a quick Intune policy that can be used in lots of different ways to control Windows apps in your environment.

Hi everyone, today we have another article from Intune Support Engineer Mohammed Abudayyeh where he shows us how we can leverage AppLocker to create custom Intune Device Configuration policies to control Windows 10 modern apps.
