PSM-WinSCP connector error - PSMDU019I Dispatcher trace message: [WinSCP Dispatcher - Unexpected button [X] instead of [X]] after updating to the latest version

PSM-WinSCP connector error - PSMDU019I Dispatcher trace message: [WinSCP Dispatcher - Unexpected button [X] instead of [X]] after updating to the latest version

173
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:55 PM


Symptom


PSM-WinSCP connector error - PSMDU019I Dispatcher trace message: [WinSCP Dispatcher - Unexpected button [X] instead of [X]]

The same error still occurs after updating the PSMWinSCPDispatcher.exe version 14.2 and WinSCP.exe version 6.3.3 from the article below:
https://community.cyberark.com/s/article/PSM-WinSCP-connector-error-PSMDU019I-Dispatcher-trace-message-WinSCP-Dispatcher-Unexpected-button-X-instead-of-X


Environment


12.2;12.6;13.0;14.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM) PSM - 14.2

Cause


Too many local drives to be mapped on the end user machine.

################WORKING CONNECTION########################
[30/08/2024 | 17:22:43] | :: | PSMDU019I Dispatcher trace message: [WinSCP Dispatcher - mapping local drives]
[30/08/2024 | 17:22:43] | :: | PSMDU013I Received a request from dispatcher [MapTSDrives]
[30/08/2024 | 17:22:43] | :: | PSMDU031I Mapping terminal services drives
[30/08/2024 | 17:22:43] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:22:43] | :: | PSMDU027I Found available drive letter [Z:]
[30/08/2024 | 17:22:43] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\C]
[30/08/2024 | 17:22:46] | :: | PSMDU028I Drive [Z:] mapped to [\\TSCLIENT\C]
[30/08/2024 | 17:22:46] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:22:46] | :: | PSMDU027I Found available drive letter [Y:]
[30/08/2024 | 17:22:46] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\D]
[30/08/2024 | 17:22:47] | :: | PSMDU028I Drive [Y:] mapped to [\\TSCLIENT\D]
[30/08/2024 | 17:22:47] | :: | PSMDU015I Successfully performed dispatcher's request [MapTSDrives] (result=[0])
################WORKING CONNECTION########################

################NON-WORKING CONNECTION########################
[30/08/2024 | 17:11:20] | :: | PSMDU013I Received a request from dispatcher [MapTSDrives]
[30/08/2024 | 17:11:20] | :: | PSMDU031I Mapping terminal services drives
[30/08/2024 | 17:11:20] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:20] | :: | PSMDU027I Found available drive letter [Z:]
[30/08/2024 | 17:11:20] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\C]
[30/08/2024 | 17:11:23] | :: | PSMDU028I Drive [Z:] mapped to [\\TSCLIENT\C]
[30/08/2024 | 17:11:23] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:23] | :: | PSMDU027I Found available drive letter [Y:]
[30/08/2024 | 17:11:23] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\E]
[30/08/2024 | 17:11:24] | :: | PSMDU028I Drive [Y:] mapped to [\\TSCLIENT\E]
[30/08/2024 | 17:11:24] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:24] | :: | PSMDU027I Found available drive letter [X:]
[30/08/2024 | 17:11:24] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\F]
[30/08/2024 | 17:11:25] | :: | PSMDU028I Drive [X:] mapped to [\\TSCLIENT\F]
[30/08/2024 | 17:11:25] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:25] | :: | PSMDU027I Found available drive letter [W:]
[30/08/2024 | 17:11:25] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\G]
[30/08/2024 | 17:11:25] | :: | PSMDU028I Drive [W:] mapped to [\\TSCLIENT\G]
[30/08/2024 | 17:11:25] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:25] | :: | PSMDU027I Found available drive letter [V:]
[30/08/2024 | 17:11:25] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\H]
[30/08/2024 | 17:11:26] | :: | PSMDU028I Drive [V:] mapped to [\\TSCLIENT\H]
[30/08/2024 | 17:11:26] | :: | PSMDU025I Searching for available drive letter
[30/08/2024 | 17:11:26] | :: | PSMDU027I Found available drive letter [U:]
[30/08/2024 | 17:11:26] | :: | PSMDU026I Trying to map teminal services drive [\\TSCLIENT\I]
[30/08/2024 | 17:11:27] | :: | PSMDU028I Drive [U:] mapped to [\\TSCLIENT\I]
[30/08/2024 | 17:11:27] | :: | PSMDU015I Successfully performed dispatcher's request [MapTSDrives] (result=[0])
################NON-WORKING CONNECTION########################


Resolution


Change the following in the PVWA > Administration > Options:
- Privileged Session Management > General Settings > Session Settings > Advanced Settings > InitSessionTimeout (Value: 80)
- Privileged Session Management > General Settings > Session Settings > Advanced Settings > SessionLauncherTimeout (Value: 30000)
- Connection Components > PSM-WinSCP > Target Settings > ConnectionComponentInitTimeout (Value: 90000)
- Connection Components > PSM-WinSCP > Target Settings > Lock Application Window > Timeout (Value: 90000)
- Connection Components > PSM-WinSCP > Target Settings > Lock Application Window > SearchWindowWaitTimeout (Value: 90)
- Connection Components > PSM-WinSCP > Target Settings > Client Specific > WindowTimeout (Value: 90)

After making these changes to the timeout, wait for approximately 15 minutes before attempting to establish a few sessions again.

 



Actions
  • Print
  • Copy Link

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