Post Upgrade, after trying the connection getting this common error: You were logged off the remote computer. Your network administrator or another user might have ended your session. Try connecting again, or contact technical support for assistance.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Post Upgrade, after trying the connection getting this common error: You were logged off the remote computer. Your network administrator or another user might have ended your session. Try connecting again, or contact technical support for assistance.

L2 Linker
1 accepted solution

Accepted Solutions

Hi Niv,

We were able to solve the problem with the help of CyberArk the Applocker file had issues finding some dlls, we were recommended to Disable SentinelOne and try running it. This solved our issue. Please find the article for the same Sentinel One issue

 

Thanks,

Neha

View solution in original post

16 REPLIES 16

L6 Presenter

Hi @Neha Kulkarni​,

 

What do the PSM logs say? You could also check Event Viewer to see what error was faced at logon.

L4 Transporter
  • https://community.cyberark.com/s/article/Your-Remote-Desktop-Services-session-has-ended
  • https://community.cyberark.com/s/article/00004883
  • https://community.cyberark.com/s/question/0D5Ht0000AK0aYdKQJ/users-are-not-able-to-connect-to-target-servers-via-psm-servers-they-are-receiving-below-when-initiating-a-connection-via-psm-you-receive-the-following-message-your-remote-desktop-services-session-has-ended-you-were-logged-off-the-remote-computer
  • https://community.cyberark.com/s/article/PSM-Error-The-privileged-session-could-not-be-established-securely-Contact-your-system-administrator

L4 Transporter
  • https://community.cyberark.com/s/article/Your-Remote-Desktop-Services-session-has-ended
  • https://community.cyberark.com/s/article/00004883
  • https://community.cyberark.com/s/question/0D5Ht0000AK0aYdKQJ/users-are-not-able-to-connect-to-target-servers-via-psm-servers-they-are-receiving-below-when-initiating-a-connection-via-psm-you-receive-the-following-message-your-remote-desktop-services-session-has-ended-you-were-logged-off-the-remote-computer
  • https://community.cyberark.com/s/article/PSM-Error-The-privileged-session-could-not-be-established-securely-Contact-your-system-administrator

[03/09/2024 | 17:13:20] | :: | PSMSR035I Privileged Session Manager version [14.2.0.3] is up

[03/09/2024 | 17:14:14] | :: | PSMSR864E [75f30225-06fc-4e17-88ce-dca0abded618] A failure occurred while waiting for the PSMMessageAlert to end. Extra Details: 3. Reason: PSMSR282E One of the session components has failed and therefore the session will be closed. For further assistance, contact your system administrator. More info: Process [Alert Message] has failed. Session [75f30225-06fc-4e17-88ce-dca0abded618].

[03/09/2024 | 17:14:14] | :: | PSMSR948W [75f30225-06fc-4e17-88ce-dca0abded618] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 3). Reason: 947E [75f30225-06fc-4e17-88ce-dca0abded618] Failed to send stop command to the session keeper, session keeper is not accessible. (Session id: 3)

[03/09/2024 | 17:14:14] | :: | PSMSRCDA003E Failed to retrieve file categories. Reason: ITATS053E Object 75f30225-06fc-4e17-88ce-dca0abded618.session doesn't exist. 

[03/09/2024 | 17:14:14] | :: | PSMSR504W [75f30225-06fc-4e17-88ce-dca0abded618] An exception occurred during the session flow's exception handling procedure (Handling stage: [EndSession], Internal exception: [PSMSCCDA003E Failed to retrieve file categories. Reason: ITATS053E Object 75f30225-06fc-4e17-88ce-dca0abded618.session doesn't exist. ])

[03/09/2024 | 17:14:14] | :: | PSMSR126E [75f30225-06fc-4e17-88ce-dca0abded618] Failure occurred while handling session. PSMSC036E No Process was found for image [PSMInitSession.exe], session 3 (Codes: -1, -1)

[03/09/2024 | 17:41:36] | :: | PSMSR864E [c7d75d23-dbb0-47d7-89cf-1dc356313744] A failure occurred while waiting for the PSMMessageAlert to end. Extra Details: 3. Reason: PSMSR282E One of the session components has failed and therefore the session will be closed. For further assistance, contact your system administrator. More info: Process [Alert Message] has failed. Session [c7d75d23-dbb0-47d7-89cf-1dc356313744].

[03/09/2024 | 17:41:36] | :: | PSMSR948W [c7d75d23-dbb0-47d7-89cf-1dc356313744] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 3). Reason: 947E [c7d75d23-dbb0-47d7-89cf-1dc356313744] Failed to send stop command to the session keeper, session keeper is not accessible. (Session id: 3)

[03/09/2024 | 17:41:36] | :: | PSMSRCDA003E Failed to retrieve file categories. Reason: ITATS053E Object c7d75d23-dbb0-47d7-89cf-1dc356313744.session doesn't exist. 

[03/09/2024 | 17:41:36] | :: | PSMSR504W [c7d75d23-dbb0-47d7-89cf-1dc356313744] An exception occurred during the session flow's exception handling procedure (Handling stage: [EndSession], Internal exception: [PSMSCCDA003E Failed to retrieve file categories. Reason: ITATS053E Object c7d75d23-dbb0-47d7-89cf-1dc356313744.session doesn't exist. ])

[03/09/2024 | 17:41:36] | :: | PSMSR126E [c7d75d23-dbb0-47d7-89cf-1dc356313744] Failure occurred while handling session. PSMSC036E No Process was found for image [PSMInitSession.exe], session 3 (Codes: -1, -1)

 

 

--------------------------------------------

This is has happened after upgrade, not sure what is the issue, it is a generic error.

Will go through these, thanks for sharing.

None of these are working.

Could you check if the PSMShadowUsers group has the 'Allow log on locally' right on your PSM server? Group policy -> Computer configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment

 

Also is PSM Debugging on?

Hi @Tanishq Pandey​ ,

 

PSMShadowUser is having that right, also debugging is set.

For PSM debugging could you confirm that the trace level values are exactly as the following:

  • Server settings: 1,2,3,4,5,6,7
  • Recorder settings: 1,2
  • Connection Client settings: 1,2

Yes it is same

L7 Applicator

Hi @Neha Kulkarni​ 

 

Please rerun the AppLocker

script once.

 

It seems to me the PSMInit.exe is getting blocked.

 

Is this the case for all PSM sessions to all targets? Are you trying with a specific connection component? If it's a target application, have you made the right entries in the AppLocker.xml file? If not, I'd run the AppLocker or set it to Audit Only mode for troubleshooting.

 

You could also look at the following KB article: https://community.cyberark.com/s/question/0D52J00006sWhHfSAK/psmsr282e-one-of-the-session-components-has-failed-and-therefore-the-session-will-be-closed

We have some certain windows dll are not found it seems endpoint security is application is blocking them.

Yes it applied to all connection components, psminitfile is not working, I will check the article once.

  • 1 accepted solution
  • 757 Views
  • 16 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!