--- title: Working with AppLocker rules (Windows 10) description: This topic for IT professionals describes AppLocker rule types and how to work with them for your application control policies. ms.assetid: 3966b35b-f2da-4371-8b5f-aec031db6bc9 ms.pagetype: security ms.prod: W10 ms.mktglfcycl: deploy ms.sitesec: library author: brianlic-msft --- # Working with AppLocker rules **Applies to** - Windows 10 This topic for IT professionals describes AppLocker rule types and how to work with them for your application control policies. ## In this section
Topic | Description |
---|---|
[Create a rule that uses a file hash condition](create-a-rule-that-uses-a-file-hash-condition.md) |
This topic for IT professionals shows how to create an AppLocker rule with a file hash condition. |
[Create a rule that uses a path condition](create-a-rule-that-uses-a-path-condition.md) |
This topic for IT professionals shows how to create an AppLocker rule with a path condition. |
[Create a rule that uses a publisher condition](create-a-rule-that-uses-a-publisher-condition.md) |
This topic for IT professionals shows how to create an AppLocker rule with a publisher condition. |
[Create AppLocker default rules](create-applocker-default-rules.md) |
This topic for IT professionals describes the steps to create a standard set of AppLocker rules that will allow Windows system files to run. |
[Add exceptions for an AppLocker rule](configure-exceptions-for-an-applocker-rule.md) |
This topic for IT professionals describes the steps to specify which apps can or cannot run as exceptions to an AppLocker rule. |
[Create a rule for packaged apps](create-a-rule-for-packaged-apps.md) |
This topic for IT professionals shows how to create an AppLocker rule for packaged apps with a publisher condition. |
[Delete an AppLocker rule](delete-an-applocker-rule.md) |
This topic for IT professionals describes the steps to delete an AppLocker rule. |
[Edit AppLocker rules](edit-applocker-rules.md) |
This topic for IT professionals describes the steps to edit a publisher rule, path rule, and file hash rule in AppLocker. |
[Enable the DLL rule collection](enable-the-dll-rule-collection.md) |
This topic for IT professionals describes the steps to enable the DLL rule collection feature for AppLocker. |
[Enforce AppLocker rules](enforce-applocker-rules.md) |
This topic for IT professionals describes how to enforce application control rules by using AppLocker. |
[Run the Automatically Generate Rules wizard](run-the-automatically-generate-rules-wizard.md) |
This topic for IT professionals describes steps to run the wizard to create AppLocker rules on a reference device. |
Enforcement mode | Description |
---|---|
Not configured |
This is the default setting which means that the rules defined here will be enforced unless a linked GPO with a higher precedence has a different value for this setting. |
Enforce rules |
Rules are enforced. |
Audit only |
Rules are audited but not enforced. When a user runs an app that is affected by an AppLocker rule, the app is allowed to run and the info about the app is added to the AppLocker event log. The Audit-only enforcement mode helps you determine which apps will be affected by the policy before the policy is enforced. When the AppLocker policy for a rule collection is set to Audit only, rules for that rule collection are not enforced |
Rule collection | Associated file formats |
---|---|
Executable files |
.exe .com |
Scripts |
.ps1 .bat .cmd .vbs .js |
Windows Installer files |
.msi .msp .mst |
Packaged apps and packaged app installers |
.appx |
DLL files |
.dll .ocx |
Option | The publisher condition allows or denies… |
---|---|
All signed files |
All files that are signed by any publisher. |
Publisher only |
All files that are signed by the named publisher. |
Publisher and product name |
All files for the specified product that are signed by the named publisher. |
Publisher and product name, and file name |
Any version of the named file or package for the named product that are signed by the publisher. |
Publisher, product name, file name, and file version |
Exactly The specified version of the named file or package for the named product that are signed by the publisher. |
Publisher, product name, file name, and file version |
And above The specified version of the named file or package and any new releases for the product that are signed by the publisher. |
Publisher, product name, file name, and file version |
And below The specified version of the named file or package and any earlier versions for the product that are signed by the publisher. |
Custom |
You can edit the Publisher, Product name, File name, Version Package name, and Package version fields to create a custom rule. |
Windows directory or disk | AppLocker path variable | Windows environment variable |
---|---|---|
Windows |
%WINDIR% |
%SystemRoot% |
System32 |
%SYSTEM32% |
%SystemDirectory% |
Windows installation directory |
%OSDRIVE% |
%SystemDrive% |
Program Files |
%PROGRAMFILES% |
%ProgramFiles% and %ProgramFiles(x86)% |
Removable media (for example, a CD or DVD) |
%REMOVABLE% |
|
Removable storage device (for example, a USB flash drive) |
%HOT% |