RemoteApplication

Post Reply
administrator
Site Admin
Posts: 82
Joined: Mon Dec 03, 2018 10:35 am

RemoteApplication

Post by administrator » Tue Nov 21, 2023 4:50 pm

It is possible to have a remote connection to just an application on a remote server.
So a user does not need to have a remote desktop session to a server.
To make this possible take these steps:
  1. We need to allow any unlisted programs to start from RDP.
  2. Save the script below on your desktop, the extension must end with .reg.
  3. Code: Select all

    Windows Registry Editor Version 5.00
    
        [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList]
        "fDisabledAllowList"=dword:00000001
  4. Double click on the file to add the registry
  5. Create a RDP file to the server, add the credentials of the user that has the right permissions on the server.
  6. Modifying our .rdp file. by clciking on it with the right mouse button and open in a text editor.
  7. Add these lines at the bottom of the file:
  8. Code: Select all

    remoteapplicationmode:i:1
    remoteapplicationname:s:This will be the optional description of the app
    remoteapplicationprogram:s:Relative or absolute path to the app
                               (Example: taskmgr or C:\Windows\system32\taskmgr.exe)
    remoteapplicationcmdline:s:Here you'd put any optional application parameters
  9. Example:

    Code: Select all

    remoteapplicationmode:i:1
    remoteapplicationname:s:
    remoteapplicationprogram:s:%windir%\system32\notepad.exe
    remoteapplicationcmdline:s:
  10. Now you can use your RemoteApp without any issues as if it was running on your local machine
Notepad-RDP.png

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests