Windows Server 2016 RDC launh app when user Logon

Ann Marion Fernandez 1 Reputation point
2021-02-18T09:32:03.793+00:00

I want to setup a user when RDP to Windows server 2016 to launch a specific program. The user should not be able to see the desktop of the server. I have added the program filename in the Starting Program for the user but its no working. I need help on this. Thank you. ![69435-capture.jpg][1] [1]: /api/attachments/69435-capture.jpg?platform=QnA

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,400 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Karlie Weng 16,356 Reputation points Microsoft Vendor
    2021-02-19T02:12:52.207+00:00

    Hello @Ann Marion Fernandez

    You can consider of applying this via group policy:

    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

    69828-image.png

    Please Noted: These Group Policy settings will take precedence over the settings configured in Remote Desktop Session Host Configuration. If both the Computer Configuration and the User Configuration policy settings are configured, the Computer Configuration policy settings take precedence. Also, the Always show desktop on connection policy setting will take precedence over the Start a program on connection policy setting.

    Specify a Program to Start Automatically When a User Logs On:
    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc770821(v=ws.11)

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Ann Marion Fernandez 1 Reputation point
    2021-02-19T02:25:08.463+00:00

    Hi Karlie

    Thank you for the reply. If I change in the group policy as you mentioned, will it also apply to administrators too? I want to apply this app launch only for users.


  3. Ann Marion Fernandez 1 Reputation point
    2021-02-19T07:28:14.987+00:00

    Hi Karlie

    Thank you for the help but I used the remote app instead on windows server 2016 to publish the app and it works fine.