Your Remote Desktop Services Session has Ended

Your Remote Desktop Services Session has Ended

266
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 12:59 PM


Symptom


SYMPTOM:
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. Your network administrator or another user might have ended your session. Try connecting again, or contact technical support for assistance.

The following errors are seen in the Application Event Viewer log on the PSM Server:
-       PSMSR126E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failure occurred while handling session. PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193]) (Codes: -1, -1)",,"Hostname.example.com","PSMSR126E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failure occurred while handling session. PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193]) (Codes: -1, -1)
-      PSMSR863E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to display error message box: [PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193])]. Extra Details: 3. Reason: PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMMessageAlert.exe. Code: 193",,"Hostname.example.com","PSMSR863E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to display error message box: [PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193])]. Extra Details: 3. Reason: PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMMessageAlert.exe. Code: 193"
 


Environment


9.8;9.10

Cause


PROBLEM:
There is a file named "Program" stored on the root of the drive being called out in the errors seen in the Application Event Viewer log. When PSM tries to create the PSMSessionKeeper satellite process that resided in the "\Program Files (x86)\CyberArk\PSM\Components" directory. The path resolution in Windows causes the PSM to access the "Program" file instead.

 


Resolution


SOLUTION:
Delete or rename the "Program" file.
 


Additional Information


Details

 

SYMPTOM:

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. Your network administrator or another user might have ended your session. Try connecting again, or contact technical support for assistance.

The following errors are seen in the Application Event Viewer log on the PSM Server:

-       PSMSR126E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failure occurred while handling session. PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193]) (Codes: -1, -1)",,"PRDPSM1201.denverwater.org","PSMSR126E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failure occurred while handling session. PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193]) (Codes: -1, -1)

-      PSMSR863E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to display error message box: [PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193])]. Extra Details: 3. Reason: PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMMessageAlert.exe. Code: 193",,"PRDPSM1201.denverwater.org","PSMSR863E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to display error message box: [PSMSR516E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to invoke SessionKeeper process (More information: [PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMSessionKeeper.exe. Code: 193])]. Extra Details: 3. Reason: PSMSR133E [9a40117a-808e-46f3-adc0-a51e2c53b979] Failed to create process D:\Program Files (x86)\CyberArk\PSM\Components\PSMMessageAlert.exe. Code: 193"

PROBLEM:

There is a file named "Program" stored on the root of the drive being called out in the errors seen in the Application Event Viewer log. When PSM tries to create the PSMSessionKeeper satellite process that resided in the "\Program Files (x86)\CyberArk\PSM\Components" directoryThe path resolution in Windows causes the PSM to access the "Program" file instead.

SOLUTION:

Delete or rename the "Program" file.




Actions
  • Print
  • Copy Link

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