So a user does not need to have a remote desktop session to a server.
To make this possible take these steps:
- We need to allow any unlisted programs to start from RDP.
- Save the script below on your desktop, the extension must end with .reg.
Code: Select all
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList] "fDisabledAllowList"=dword:00000001
- Double click on the file to add the registry
- Create a RDP file to the server, add the credentials of the user that has the right permissions on the server.
- Modifying our .rdp file. by clciking on it with the right mouse button and open in a text editor.
- Add these lines at the bottom of the file:
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
- Example:
Code: Select all
remoteapplicationmode:i:1 remoteapplicationname:s: remoteapplicationprogram:s:%windir%\system32\notepad.exe remoteapplicationcmdline:s:
- Now you can use your RemoteApp without any issues as if it was running on your local machine