Share via

AppLocker script enforcement rules blocking legitimate internal administrative PowerShell scripts

Sanne Dejong 20 Reputation points
2026-06-09T08:04:26.0233333+00:00

After implementing an AppLocker script enforcement policy, we noticed an unintended side effect. End users are successfully restricted from running untrusted scripts, but internal login automation used by the helpdesk is also being denied. The scripts reside in a hidden network location instead of the approved C:\Program Files\ directory, and their execution is now blocked, interrupting workstation deployment routines.

Windows for business | Windows 365 Enterprise
0 comments No comments

Answer accepted by question author

Domic Vo 24,130 Reputation points Independent Advisor
2026-06-09T08:39:06.9666667+00:00

Hello,

To resolve the AppLocker script block, configure an Allow rule within the Group Policy Management Console under Computer Configuration, Windows Settings, Security Settings, and Application Control Policies. While a UNC path rule will permit the scripts, using a publisher-based rule is recommended for better security if the scripts are digitally signed. Ensure the Application Identity service (AppIDSvc) is set to start automatically on all client workstations, as it is required for rule enforcement. Finally, execute gpupdate /force on the affected machines to apply the updated policy and resume deployment operations.

Domic V.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.