Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can RDP clients launch remote applications and not desktops

Tags:

rdp

Can RDP clients launch a remote application and then only display that application (and not the desktop)? The application would appear fullscreen within the client and if the application were closed the session would end.

like image 433
Richard Dorman Avatar asked Aug 04 '09 10:08

Richard Dorman


People also ask

What is the difference between a Remote Desktop and a remote application?

For a quick summary recap: RemoteApp provides the ability to deliver applications remotely. The application looks like any other application running on the end users' device. Remote Desktops is the ability to deliver a full desktop experience.

How do I restrict a Remote Desktop user to a single application?

Go to User Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Desktop Session Environment. Enable and configure Start program on connection. Disable Always show desktop on connection.

How does RDP client work?

Communication in RDP is based on multiple channels, and the protocol theoretically supports up to 64,000 unique channels. The basic functionality of RDP is to transmit a monitor (output device) from the remote server to the client and the keyboard and/or mouse (input devices) from the client to the remote server.

What is RemoteApp and desktop connections?

RemoteApp and Desktop Connection allows administrators to provide a set of resources, such as RemoteApp programs and virtual desktops, to their users. Users can connect to RemoteApp and Desktop Connection in two ways: From a computer that is running Windows 7.


2 Answers

"alternate shell" doesn't seem to work anymore in recent versions of Windows, RemoteApp is the way to go.

remoteapplicationmode:i:1 remoteapplicationname:s:Purpose of the app shown to user... remoteapplicationprogram:s:C:\...\some.exe remoteapplicationcmdline:s: 

To get this to work under e.g. Windows 10 Professional, one needs to enable some policy:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] "fAllowUnlistedRemotePrograms"=dword:00000001 
like image 151
Thorsten Schöning Avatar answered Oct 12 '22 12:10

Thorsten Schöning


Using an RDP connection file you can set the alternate shell to be your application; the file syntax is like

alternate shell:s:c:\winnt\system32\notepad.exe 

and you pass that as a command-line argument to mstsc.exe; this similar to chrissr's solution, but without affecting every RDP session you launch. A fuller summary of settings here.

like image 29
Steve Gilham Avatar answered Oct 12 '22 12:10

Steve Gilham