T The Triage ManualTechnical Guides for IT Emergencies
P2 · Endpoint & Device Management

Security Baseline / Application Control Policy Blocking Legitimate Application Execution — AppLocker, WDAC, or SRP

Security baseline policies or application control technologies (AppLocker, Windows Defender Application Control, Software Restriction Policies) block legitimate applications from executing, causing failures mistaken for software faults. Root cause is typically an overly restrictive or misconfigured policy applied via Group Policy or MDM. Resolution involves identifying the blocking rule via event logs, creating an appropriate allow rule (publisher, path, or hash), and redeploying the policy without weakening overall security posture.

Indicators

Likely causes

Diagnostic steps

  1. Run Resultant Set of Policy to identify which GPOs are applied and check for AppLocker or SRP settings: gpresult /H C:\Temp\gpresult.html /F
    Determines which Group Policy Object is enforcing the application blocking rule and its scope (user vs computer)
  2. Review AppLocker event logs for block events: Get-WinEvent -LogName 'Microsoft-Windows-AppLocker/EXE and DLL' | Where-Object { $_.Id -in @(8003,8004) } | Select-Object TimeCreated, Id, Message | Format-List
    Identifies the exact AppLocker rule collection and rule blocking the application, including file path and publisher details
  3. Check CodeIntegrity operational log for WDAC blocks: Get-WinEvent -LogName 'Microsoft-Windows-CodeIntegrity/Operational' | Where-Object { $_.Id -in @(3076,3077) } | Select-Object TimeCreated, Id, Message | Format-List
    Determines whether WDAC (rather than AppLocker or SRP) is responsible for blocking the application
  4. Check Software Restriction Policy blocks in Application log: Get-EventLog -LogName Application -Source 'Application Management' -Newest 100 | Where-Object { $_.EventID -in @(865,866,867,868) } | Select-Object TimeWritten, EventID, Message | Format-List
    Confirms whether legacy SRP is the blocking mechanism and identifies the restricted path or zone
  5. Export effective AppLocker policy: Get-AppLockerPolicy -Effective -Xml | Out-File C:\Temp\EffectiveAppLockerPolicy.xml
    Provides the full rule set so that missing or incorrect allow rules can be identified
  6. Retrieve application attributes for rule creation: Get-AppLockerFileInformation -Path 'C:\Path\To\Application.exe' | Format-List
    Generates exact attributes needed to create a correctly scoped allow rule (publisher, product name, binary name, version, hash)

Resolution path

Prevention

Tools

References

applockerwdacapplication-controlsecurity-baselineapp-blockinggroup-policysrpwindows-securityendpoint-hardeninggpocis-benchmarksmicrosoft-sct