After upgrading PSM from 10.3 or earlier to 10.4 or later and running AppLocker hardening, PSM server displays black screen
113
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM
Symptom
When upgrading PSM from 10.3 or earlier to 10.4 or later and running the AppLocker hardening with the newly generated PSMConfigureAppLocker.ps1 script and the backed-up PSMConfigureAppLocker.xml configuration (PSMConfigureAppLocker.xml.<DATE>.bak), the PSM server begins to experience various performance issues:
- Various Windows applications fail to start
- The PSM server becomes inaccessible with a black screen
- The server may perform much slower
Environment
10.4;10.5;10.6;10.7;10.8;10.9;10.10 PAS
PSM
Cause
Starting with PSM version 10.4, new rules were added to the AppLocker hardening to further secure the system by adding rules for DLL files. The PSMConfigureAppLocker.ps1 file created after the upgrade will have logic to create these rules, but the backed-up PSMConfigureAppLocker.xml file will not contain the configuration to properly handle this. As a result, DLLs essential for Windows to function properly are blocked by AppLocker.
Resolution
There are two ways to avoid this issue:
- Add the following line to the PSMConfigureAppLocker.xml that was backed up before the upgrade started:
<DLL Enforce="true" Action="Override" />
The line can be copied from the new version of PSMConfigureAppLocker.xml. - Copy your custom rules from the PSMConfigureAppLocker.xml.<DATE>.bak to the newly created PSMConfigureAppLocker.xml file which will already contain the above DLL line, and then run the hardening.
If you encounter this issue and have trouble accessing the PSM server as a result, you can boot the server into Safe Mode and the server should be accessible. Once this is done, clear the AppLocker policy:
- Open secpol.msc
- Expand to Application Control Policies > AppLocker
- Right-click AppLocker and select "Clear Policy"
- Once the policy is cleared, the server should become accessible again
1. From Any machine open Services and use "Connect to" then connect to PSM server and stop "Application identity service" and change to disables/manual start. If you can't connect using Services MMC. then open CMD as administrator and run:
net use \\PSMmachinename
sc \\PSMmachinename stop AppIdsvc
sc \\PSMmachinename Config AppIdsvc start= Auto|Demand|Disabled
Note: The single space after the “=” is important!
3. Reboot server using VMware console or using PowerShell: restart-computer -ComputerName "MachineName"
4. Login using VM console and RDP - should get the machine back with all prompts.
5. Fix applocker.xml file by adding the DDL line and re-run the rule and run "gpupdate /force"
6. Make sure that service is enabled and started (application identity service)
7. reboot PSM server and make sure that once it started, it running ApplicationIdentity, enforcing Applocker rules (Local Security Policy) and you able to connect using PSM-RDP / other connection methods.