Alero - Secure Native Access through RDP failing
Symptom
After downloading the Alero secure native RDP file from the Alero portal and launching the connection it immediately closes.
Errors are seen in the PSMTrace.log and PSMConsole.log
PSMSR126E [SESSION-ID] Failure occurred while handling session. PSMSR133E [SESSION-ID] Failed to create process C:\Program Files (x86)\CyberArk\PSM\Components\PSMRecorder.exe. Code: 5 (Codes: -1, -1)
PSMSR002E Upload service execution failed. Reason: PSMRC038E Failed to finilize record file (More information: [PSMRC050E Failed to finalize record because AVI file [C:\Program Files (x86)\CyberArk\PSM\Recordings\SESSION-ID.VID.avi] is empty.]) (Codes: -1, -1)
Environment
12.2 Remote Access (formerly Alero) Connector
Alero
Secure Native RDP
Cause
The Alero Secure Native Access RDP file requires additional parameters to be added for a successful connection.
Resolution
- Login to PVWA via the Alero portal
- Click connect on an account and download the RDP file.
- Open the RDP file with Notepadd++ or Notepad
- Take a copy of the parameter within the RDP file
NOTE - No need to copy the following parameters:
full address server port username alternate shell EnableCredSspSupport authentication level
- Open the Native RDP file downloaded directly from Alero in Notepad++ or Notepad
- Add the copied parameters from the RDP file downloaded from PVWA to the Native RDP file.
For example, append the following parameters to the native RDP file;
redirectdrives:i:1
drivestoredirect:s:*
redirectsmartcards:i:0
redirectcomports:i:0
remoteapplicationmode:i:1
remoteapplicationprogram:s:||PSMInitSession
disableconnectionsharing:i:1
use multimon:i:0
span monitors:i:0
Once saved the native RDP file looks like this in Notepad++
full address:s:nativerdp.fm.app.alero.io
username:s:u6m9wneaz
domain:s:waJtlQBF077Q1g0apbKSUb6pckGDmZVsdGr2GYq958I
enablecredsspsupport:i:0
authentication level:i:1
redirectdrives:i:1
drivestoredirect:s:*
redirectsmartcards:i:0
redirectcomports:i:0
remoteapplicationmode:i:1
remoteapplicationprogram:s:||PSMInitSession
disableconnectionsharing:i:1
use multimon:i:0
span monitors:i:0