[PSM] - AppLocker Rules Fail to Update or Still Enforce in "Audit Only" Mode (Clearing AppLocker Cache)

[PSM] - AppLocker Rules Fail to Update or Still Enforce in "Audit Only" Mode (Clearing AppLocker Cache)

192
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM


Symptom


Applocker is still enforcing, after setting to "Audit Only" mode.

And unable to bypass Applocker at all



Environment


14.2;14.6;15.0;14.7;14.8;15.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM);Privilege Cloud PSM

PSM Connection via PVWA



Cause


Applocker rules are locked or reading cached settings.



Resolution


To completely clear the AppLocker cache and force the PSM server to read the new rules, perform the following steps:

Step 1: Clear Local Group Policy
1. Open the Local Group Policy Editor (`gpedit.msc`) on the PSM server.
2. Navigate to: Computer Configuration > Windows Settings > Security Settings > Application Control Policies > AppLocker.
3. Right-click AppLocker and select "Clear Policy" (if applicable), or manually delete any listed Executable, Windows Installer, Script, or Packaged app rules.

 

Step 2: Clear the Registry Cache

1. Open the Registry Editor (`regedit.exe`).
2. Navigate to: `HKLM\Software\Policies\Microsoft\Windows\SrpV2`
3. Delete all subkeys and entries under `SrpV2` to ensure this folder is completely empty.

Step 3: Delete Cached System Files
1. Open File Explorer as Administrator.
2. Navigate to: `C:\Windows\System32\AppLocker\`
3. Delete all `.AppLocker` files inside this directory. (These are the physical cache files generated by the Application Identity service).

Step 4: Reboot and Re-Apply
1. Reboot the PSM server to release memory locks on the AppLocker service.
2. After rebooting, log in as an Administrator.
3. Open an elevated PowerShell prompt.
4. Navigate to `C:\Program Files (x86)\CyberArk\PSM\Hardening` and execute `.\PSMConfigureAppLocker.ps1` to cleanly re-apply the desired rules.
5. Test your PSM connections to verify the issue is resolved.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001kQbCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail