You can create new rules by using the Create Rules Wizard.
Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.
To create a new rule |
-
Click Start, type secpol.msc in the Search programs and files box, and then press ENTER. You can also:
- Click Start, and then click Control Panel.
- Click System and Security, and then click
Administrative Tools.
- Double-click Local Security Policy.
- Click Start, and then click Control Panel.
-
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
-
In the console tree, double-click Application Control Policies, and then double-click AppLocker.
-
Right-click the rule collection for which you want to create the rule, and then click Create New Rule.
-
On the Before You Begin page, click Next.
-
Click Allow or Deny to allow or deny the files contained within the rule.
-
Click Select. In the Select User or Group box, type the appropriate security group or user, and then click OK.
-
Click Next.
-
Click the appropriate rule condition for this rule. You can choose from Publisher, Path, or File hash, and then click Next.
-
Depending on the rule condition you selected, you are asked for different criteria:
- Publisher rule condition. Click
Browse to select the file for which you want to extract the
publisher information. To edit the publisher information, select
the Use custom values check box, and then edit the values.
Click Next.
- Path rule condition. Navigate to the
file or folder by clicking Browse Folders or Browse
Files. Optionally, you can type the path into the Path
box. Click Next.
- File hash rule condition. Navigate to
the file or folder by clicking Browse Folders or Browse
Files. Click Next.
- Publisher rule condition. Click
Browse to select the file for which you want to extract the
publisher information. To edit the publisher information, select
the Use custom values check box, and then edit the values.
Click Next.
-
(Optional) On the Exceptions page, specify the publisher or path that you want to exclude from the rule, and then click Next.
Note You cannot create exceptions for file hash rules.
-
In the Name box, type a name that you can use to identify the rule.
-
In the Description box, type a description that explains the purpose of this rule.
-
Click Create.
Additional references