AppLocker Group Policy: Complete Audit-to-Enforce Guide in 6 Steps
AppLocker is a Windows policy for controlling which software users can run on managed computers. Administrators can apply it through Group Policy on domain-joined Windows 11 and Windows Server machines. It matters because it can limit software by user or group, helping organizations manage what runs on different machines or for different people. The policy sorts files into five rule collections, including executables, Windows installers, packaged apps, scripts, and DLLs. A rule can allow or deny a user or group based on a publisher’s signature, a file’s location, or its hash. For example, a publisher rule can continue to match signed software after updates, while a hash rule matches one exact file. AppLocker should not be treated as a strong boundary against a determined attacker. Microsoft describes it as a defence-in-depth feature and says it does not receive new feature improvements. Organizations seeking stronger protection can use App Control for Business, or combine it with AppLocker for per-user restrictions. Testing in audit mode before enforcement helps reveal what rules are needed.
What is AppLocker, and what kinds of software can it control?
AppLocker is a Windows policy for controlling which software users can run on managed computers. Administrators can apply it through Group Policy on domain-joined Windows 11 and Windows Server machines. It matters because it can limit software by user or group, helping organizations manage what runs on different machines or for different people.
The policy sorts files into five rule collections, including executables, Windows installers, packaged apps, scripts, and DLLs. A rule can allow or deny a user or group based on a publisher’s signature, a file’s location, or its hash. For example, a publisher rule can continue to match signed software after updates, while a hash rule matches one exact file.
AppLocker should not be treated as a strong boundary against a determined attacker. Microsoft describes it as a defence-in-depth feature and says it does not receive new feature improvements. Organizations seeking stronger protection can use App Control for Business, or combine it with AppLocker for per-user restrictions. Testing in audit mode before enforcement helps reveal what rules are needed.
How many rule collections does AppLocker use, and what kinds of files do they cover?
AppLocker organizes its rules into five collections, each covering a type of software or file. The collections are Executable, Windows Installer, Packaged app, Script, and DLL. Separating rules this way lets an organization decide which categories to control instead of applying one undifferentiated set of rules.
For example, an organization might begin with executable, installer, and packaged-app rules, then add scripts after covering logon scripts and administrative tools. The article suggests leaving DLL rules for high-risk machines. Within a collection, rules can allow or deny users or groups based on a publisher, path, or hash. If a collection contains a rule, files without an allowing rule are blocked in enforcement mode.
Collection setup matters because “Not configured” does not mean rules are ignored: rules in a not-configured collection are enforced. Administrators should choose collections deliberately and test in Audit only before enforcing them. That helps reveal which rules need adding and reduces the chance of disrupting legitimate software.
What happens to programs that have no allowing rule when a collection is set to Enforce rules?
AppLocker works as an allow-list when a collection is enforced. If the collection contains at least one rule, a program or file that no rule allows is blocked. This makes the presence of rules important: an organization must account for the software users need, rather than assuming unlisted files will remain available.
For example, if an Executable collection has rules allowing approved programs, an executable without a matching allow rule is blocked when enforcement is on. A deny rule takes precedence over an allow rule. By contrast, setting a collection to Audit only records what would be blocked without stopping it, giving administrators a chance to check the policy first.
The article warns that “Not configured” does not mean the rules are ignored; rules in a not-configured collection are enforced. Its suggested rollout is to test in Audit only, review events 8003 and 8006 for two to four weeks, add needed rules, and then switch to Enforce rules. This helps catch missing approvals before blocking software.
How do publisher, path, and hash rules identify which files users can run?
AppLocker offers three ways to identify a file for a rule: publisher, path, and hash. The condition determines what AppLocker checks when deciding whether a rule applies. Each rule also specifies an Allow or Deny action and the user or group it covers, with optional exceptions.
A publisher rule uses a digital signature and can be narrowed by product name, file name, and version. It can keep matching after software updates. A path rule identifies a folder or file, and can use variables such as %PROGRAMFILES% and %WINDIR%. It is safe only when standard users cannot write to the location. A hash rule uses the SHA256 hash of one file, so it matches exactly but breaks when that file changes.
The article recommends publisher conditions wherever a file is signed, paths only for administrator-protected folders, and hashes as a last resort for unsigned tools that rarely change. This choice affects maintenance and safety. In particular, paths to locations standard users can write to are not recommended, because those locations could undermine the intended restriction.
Why must the Application Identity service be running for AppLocker rules to work?
The Application Identity service, also called AppIDSvc in the article, must run on every machine targeted by an AppLocker policy. It is a prerequisite for enforcement: without it, the rules are not enforced. Setting it up is therefore a necessary part of preparing the computers, not an optional setting to leave until later.
The guide directs administrators to configure the service through Group Policy under Computer Configuration, Policies, Windows Settings, Security Settings, and System Services. The short answer recommends setting Application Identity to Automatic in a GPO linked to a pilot computer OU. This establishes the service configuration for machines that receive the policy.
AppLocker is intended for domain-joined Windows 11 and Windows Server machines in the guide’s scenario, and the service requirement applies to every target machine. Administrators should also prepare a pilot OU, a way to collect events, and a reference machine with standard apps. Testing policy changes in audit mode before enforcement helps check the rules, but it does not replace the requirement to run the service.
When might an organization choose App Control for Business instead of relying on AppLocker?
Microsoft recommends App Control for Business for protection against a determined attacker. The reason is a stated limitation: AppLocker is a defence-in-depth feature, not a defensible security boundary, and Microsoft says it does not receive new feature improvements. Organizations should consider that distinction when choosing how to protect devices.
AppLocker still has uses. It can apply different rules to users or groups on the same machine, such as an RDS host, and it can help audit what runs. The article describes a combined approach: use App Control for the device baseline and an AppLocker Group Policy object for per-user restrictions. This keeps AppLocker’s user-specific controls without relying on it alone for the device’s protection.
The decision depends on the job the policy must do. Choose App Control for Business when the main need is protection against a determined attacker; consider AppLocker for quick auditing or group-specific restrictions. Before enforcing AppLocker, the guide recommends Audit only testing, reviewing events 8003 and 8006 for two to four weeks, and adding rules based on what appears.
How do digital signatures and file hashes help a computer identify software?
AppLocker uses digital signatures and file hashes as ways to identify software for rules. A publisher condition is based on the digital signature and can be narrowed by product name, file name, and version. The article recommends publisher rules wherever a file is signed because they can survive updates.
A hash is a value calculated from a file’s contents; as general computing knowledge, comparing hashes can check whether a file matches an exact version. The article specifies SHA256 and describes a hash rule as exact for one file. For example, an unsigned tool that rarely changes could be allowed by its hash, while a signed application could be matched by publisher instead.
The trade-off is maintenance. A file update changes its hash, so the old hash rule no longer matches the updated file. The article therefore treats hashes as a last resort for unsigned tools that rarely change. Signatures are more useful for signed software that receives updates, while path rules are another option only when standard users cannot write to the location.
This brief was written by AI from the original reporting and checked by other models. Names, figures and quotes come from the source; read it for full context.
Read more in the JupiteX app
Pulse is free. New stories every 4 hours, each one broken into the questions that explain it.
Or read more news on the web