Windows Server 2012 R2 Remote Desktop Services – Start A Program On Connection via GPO
You want to specify a single program to launch when users log into your Windows 2012 R2 remote desktop server (terminal server).
Microsoft took away the easy way that you accomplished this in prior versions of Windows Server.
Enable this GPO
Computer Configuration / Polices / Administrative Templates / Windows Components / Remote Desktop Services / Remote Desktop Session Host / Remote Session Environment / “Start a program on connection”
Specify the program that you wish to start.
Apply the policy to the server itself (add the computer name to the scope).
On the server run gpupdate