How to test the RemoteApp connection using mstsc.exe (direct RDP)

How to test the RemoteApp connection using mstsc.exe (direct RDP)

101
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:57 PM


Objective


When establishing a direct RDP connection to the PSM or a target server through mstsc.exe, it operates as a standard RDP session, limiting the ability to assess the RemoteApp connection.
This article provide guidance on testing the RemoteApp connection independently from CyberArk's environment.


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)

Procedure


1. Run mstsc.exe (or search for Remote Desktop Connection and start this application).

2. For "Computer": fill in the IP or FQDN of the PSM or the target server.

3. Click "Show Options".

4. Under "Connection settings", choose "Save as" and save the RDP session settings to a .RDP file.

5. Open the file with any text editor (for example NotePad) and find this line:
remoteapplicationmode:i:0
and change it to
remoteapplicationmode:i:1

6. Add the following lines add the end of the file:
remoteapplicationname:s:notepad
remoteapplicationprogram:s:C:\windows\notepad.exe


7. Run Regedit on the target you are trying to connect to (PSM or target sever).
8. Find the location HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList

9. Find the key “fDisabledAllowList”

10. It will be set to “0”, Change to “1”.

11. Run the RDP file you created.


Actions
  • Print
  • Copy Link

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