PSM - MSSQL Connection Problem

PSM - MSSQL Connection Problem

130
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM


Symptom


The user disconnected from a session after some time. The session also loses all activities that the user was running.

Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;14.6 PSM

Cause


This can be related to a timeout and requires configuring and enabling limit session policies in the GPO
 


Resolution


Configure the following GPO Policies for the PSM Server:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Limits.

Set time limit for active but idle Remote Desktop Services sessions:
If the user is idle from the RDP session this won't be disconnected before X minutes/hours/days are configured.
Set time limit for disconnected sessions.
When a session is in a disconnected state, running programs are kept active even though the user is no longer actively connected. 
Now, after the X minutes/hours/days are configured, if the user session continues in disconnected status, then the activities will close.

Note:

  • It is advised to analyze what is the proper time to set according to each environment.
  • Is not recommended to set the values to Never. This will queue the sessions in the server.

Recommendation for an additional related information:
PSM - How to configure Timeout, idle and Re-connection Settings for Remote Desktop Services and PSM Sessions.


Actions
  • Print
  • Copy Link

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