
Select your user or group and press “OK”.Press “Find Now” to return a list of users and groups.Click “Advanced…” in the “Select User or Group” window.Specify a user or group by clicking “Select…”Īlternatively, you can leave it as it is to apply the rule to everyone and skip the next few steps.

Press “Next” on the “Before You Begin screen”.To create a new rule, right-click the “Script Rules” icon again and click “Create New Rule…”. There should be three allow rules: All scripts located in the Windows folder, All Scripts located in the Program Files folder, and All Scripts (for admin users). Check for the default rules in your main pane.

Create new default rules for your scriptsīack in the main Local Security Policy app, expand “AppLocker” in your sidebar, right-click “Script Rules”, and select “Create Default Rules”.In the AppLocker Properties window, tick “Script rules > Configured” and press “OK”.Specifically, you’ll find the option by expanding the “Application Control Policies” folder in the sidebar, clicking on “AppLocker” below it, then pressing “Configure rule enforcement” in the main pane. Configure AppLocker rule enforcement via the Application Control Policies Folder.To ensure the application identity service is running and set to automatic, you can run the following command: sc config "AppIDSvc" start=auto & net start "AppIDSvc" Press the Start button and type “Command Prompt”, then click “Run as administrator” on the right-hand side.
#Applocker gpo windows 10#
Here’s how you can enable it and then block scripts using Windows 10 AppLocker Without this service, AppLocker will be unable to enforce any rules you define and therefore be essentially useless. Before we start adding rules, we need to make sure the application identify service is enabled and set to automatically start.
