2.2 KiB
title, description, ms.assetid, ms.reviewer, ms.author, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, ms.localizationpriority, author, manager, audience, ms.collection, ms.topic, ms.date
title | description | ms.assetid | ms.reviewer | ms.author | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | ms.localizationpriority | author | manager | audience | ms.collection | ms.topic | ms.date |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create a rule that uses a file hash condition (Windows 10) | This topic for IT professionals shows how to create an AppLocker rule with a file hash condition. | eb3b3524-1b3b-4979-ba5a-0a0b1280c5c7 | dansimp | w10 | deploy | library | security | medium | dansimp | dansimp | ITPro | M365-security-compliance | conceptual | 09/21/2017 |
Create a rule that uses a file hash condition
Applies to
- Windows 10
- Windows Server
This topic for IT professionals shows how to create an AppLocker rule with a file hash condition.
File hash rules use a system-computed cryptographic hash of the identified file.
For info about the file hash condition, see Understanding the File Hash Rule Condition in AppLocker.
You can perform this task by using the Group Policy Management Console for an AppLocker policy in a Group Policy Object (GPO) or by using the Local Security Policy snap-in for an AppLocker policy on a local computer or in a security template. For info how to use these MMC snap-ins to administer AppLocker, see Administer AppLocker.
To create a new rule with a file hash condition
-
Open the AppLocker console, and then click the rule collection that you want to create the rule for.
-
On the Action menu, click Create New Rule.
-
On the Before You Begin page, click Next.
-
On the Permissions page, select the action (allow or deny) and the user or group that the rule should apply to, and then click Next.
-
On the Conditions page, select the File hash rule condition, and then click Next.
-
Browse Files to locate the targeted application file.
Note: You can also click Browse Folders which calculates the hash for all the appropriate files relative to the rule collection. To remove hashes individually, click the Remove button.
-
Click Next.
-
On the Name page, either accept the automatically generated rule name or type a new rule name, and then click Create.