[PSM] - SSMS Connection Fails with PSMDU018E "Failed to execute process"

[PSM] - SSMS Connection Fails with PSMDU018E "Failed to execute process"

225
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:00 PM


Symptom


When attempting to connect to a Microsoft SQL database via PVWA:


1. The remote session window initializes but terminates before launching the application.
2. The user receives an on-screen dialog:
   "PSMDU018E Dispatcher error: [Failed to execute process ["<Path>\ssms.exe" -S <TargetAddress> -E]]"
3. The PSM trace log (`PSMTrace.log`) confirms that the operating system cannot find the executable specified in the dispatcher launch parameters.



Environment


14.2;14.6;15.0;14.7;14.8;15.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM);Privilege Cloud PSM

- Products: Privileged Access Manager (PAM, self-hosted), Privilege Cloud
- Components: Privileged Session Manager (PSM), SSMS Connection Components
- Application: Microsoft SQL Server Management Studio (SSMS)



Cause


The path configured under `Target Settings > Client Specific > ClientInstallationPath` for the connection component does not match the actual physical path of `Ssms.exe` on the PSM server. 

 

This frequently occurs following an upgrade of SQL Server Management Studio (e.g., upgrading from legacy SSMS 2012/2016 to SSMS 18, 19, or 20), which alters the default directory structure under `C:\Program Files (x86)\Microsoft SQL Server Management Studio <version>\Common7\IDE\Ssms.exe`.



Resolution


Step 1: Identify the Physical Path of SSMS on the PSM Server

--
1. Log on to each PSM server as an Administrator.
2. Browse File Explorer to verify the exact location of `Ssms.exe`:
   - Typical SSMS 18 path: `C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exe`
   - Typical SSMS 19 path: `C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Ssms.exe`
   - Typical SSMS 20 path: `C:\Program Files (x86)\Microsoft SQL Server Management Studio 20\Common7\IDE\Ssms.exe`

--

 

Step 2: Update ClientInstallationPath in PVWA

--
1. In PVWA, navigate to: Administration > Options > Connection Components.
2. Expand the affected connection component:
   - `PSM-SQLServerMgmtStudio` (or `PSM-SQLServerMgmtStudio-Win`)
3. Navigate to: `Target Settings` > `Client Specific`.
4. Locate the `ClientInstallationPath` parameter.
5. Update the value with the exact physical path identified in Step 1.
   *(Note: Ensure there are no extra leading/trailing spaces or missing directory delimiters).*
6. Click Apply and OK to save.

--

 

Step 3: Verify AppLocker Configuration

--
1. Open `C:\Program Files (x86)\CyberArk\PSM\Hardening\PSMConfigureAppLocker.xml`.
2. Ensure the AppLocker path rule permits the updated SSMS installation directory.
3. If the path was updated, re-run `.\PSMConfigureAppLocker.ps1` in an elevated PowerShell session.

--

 

Step 4: Retest Connection

--
Restart the `CAPSM` service or wait 10 minutes for configuration refresh, then initiate a new connection from PVWA.

--



Actions
  • Print
  • Copy Link

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