SQL Server Management Studio (SSMS) crashes mid-session

SQL Server Management Studio (SSMS) crashes mid-session

162
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Symptom


SSMS (and a wide variety of other connection components) could experience the following behavior. While mid-session, end user tries to perform a specific task, and the session dies without explanation. 

 

If you check Event Viewer's AppLocker logs right after, you see errors related to DLL's or EXE's being blocked.

 



Environment


12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0;13.3;14.2;14.3 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM)

SSMS, PSM, AppLocker enforced

 



Cause


AppLocker is blocking a DLL or EXE that is critical to the mid-session functionality. When the DLL or EXE fails to load/launch, the session crashes. 

 



Resolution


When AppLocker is set to audit only, the issue disappears.

 

How to set AppLocker to audit only:

  1. Open Secpol.msc on the PSM.
  2. Application Control Policies
  3. Right-click AppLocker, and then click Properties.
  4. Click on the Drop down that says, "Enforce rules" and change it to "Audit only".
  5. Repeat the above step to configure the enforcement setting to Audit only for all sections
  6. Click OK.

Proper solution is to follow this article to find and whitelist the offending DLL's/EXE's:

https://community.cyberark.com/s/article/How-do-you-add-DLLs-to-the-Applocker-script

 



Actions
  • Print
  • Copy Link

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