PSM - WinSCP Connection Component fails with "Failed to load DLL: PSMDispatcherUtils.dll" after 14.x Upgrade

PSM - WinSCP Connection Component fails with "Failed to load DLL: PSMDispatcherUtils.dll" after 14.x Upgrade

297
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:12 PM


Symptom


When launching a WinSCP session via the PSM, the dispatcher crashes immediately. The user may see a graphical error (if visible), or the PSMTrace.log / WindowsEventsLogger.log will record an error similar to:

 

PSM WinSCP Dispatcher error message: PSMDispatcherUtilsWrapper error: Failed to load DLL C:\Program Files (x86)\CyberArk\PSM\Components\x64\\PSMDispatcherUtils.dll

 

Note: You may notice a double backslash (\\) in the file path. This is a known concatenation behavior with the {PSMComponentsFolder} variable in v14.x, but it is typically a cosmetic red herring and not the actual root cause of the load failure.

Additionally, a Code: 1260 error might appear in the PSMTrace.log if the executable was recently replaced or moved without updating AppLocker.



Environment


14.0;14.2;14.8 Privilege Cloud Privilege Cloud PSM
  • Privilege Cloud PSM
  • PSM Connection via PVWA
  • Privilege Cloud 14.x
  • Privileged Session Manager (PSM) 14.x (64-bit Architecture)
  • WinSCP Connection Component




Cause


The transition to the 64-bit architecture in PSM 14.x requires the 64-bit version of the Microsoft Visual C++ Redistributable. Even if the package is already installed, the OS-level bindings for these C++ libraries frequently become corrupted or misaligned during the upgrade process. Because the native 64-bit PSMDispatcherUtils.dll relies entirely on these libraries, the Windows OS blocks it from loading into memory, causing the dispatcher wrapper to crash.



Resolution


To resolve this issue, the OS-level C++ bindings must be repaired and reloaded into memory.

 

  1. RDP into the affected PSM Server using an administrative account.
  2. Open Programs and Features (appwiz.cpl).
  3. Locate the Microsoft Visual C++ 2015-2022 Redistributable (x64).
  4. Right-click the package, select Change, and then click Repair. (If repairing fails, or if it is an older sub-version, completely uninstall it, download the latest x64 version from Microsoft, and install it).
  5. CRITICAL: Perform a full Windows OS reboot of the PSM server. A simple PSM service restart is insufficient, as it will not reload the core OS libraries.
  6. (Optional but recommended): If files were moved or replaced during troubleshooting, open an administrative PowerShell prompt, navigate to C:\Program Files (x86)\CyberArk\PSM\Hardening, and run .\PSMConfigureAppLocker.ps1 to ensure the dispatcher is not blocked by Group Policy.
  7. Perform a test connection from the PVWA.


Actions
  • Print
  • Copy Link

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