question

AnnMarionFernandez-2656 avatar image
0 Votes"
AnnMarionFernandez-2656 asked ·

Windows Server 2016 RDC launh app when user Logon

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]: /answers/storage/attachments/69435-capture.jpg

windows-remote-desktop-services
capture.jpg (78.5 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KarlieWeng-MSFT avatar image
0 Votes"
KarlieWeng-MSFT answered ·

Hello @AnnMarionFernandez-2656

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://docs.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.





image.png (53.0 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnnMarionFernandez-2656 avatar image
0 Votes"
AnnMarionFernandez-2656 answered ·

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.

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Ann,

I think we can create a GPO include that user only , then linked the above group policy with it.

Create a Group Policy Object
https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-firewall/create-a-group-policy-object

0 Votes 0 ·
AnnMarionFernandez-2656 avatar image
0 Votes"
AnnMarionFernandez-2656 answered ·

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.

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for the valuable sharing.

Kindly mark it as answer would help other forum members easy to find.

Have a great day !

Thanks

0 Votes 0 ·