Asked by:
Run Program on Remote Desktop Connection Startup
Question
-
Windows 2012 server
I am trying to configure a User to run certain program like notepad, when he connects to Remote session, I just use Environment tab on User profile properties and I specify the program to run, where to start and check the checkbox: Run Program on Startup. It seems this has no effect the user can successfully login but notepad doesn't run and there are no error messages.
This would be an easy and clean solution. What do I miss here?
Thank you.
All replies
-
Hi,
Please confirm you have RD Session Host Role Service installed on your 2012 server. This is required for the Start the following program at logon setting to work.
Thanks.
-TP
- Proposed as answer by Eve WangMicrosoft contingent staff, Moderator Monday, March 26, 2018 2:03 AM
-
Hi,
You can consider of applying this via group policy - Start a program on connection. This Group Policy settings is located in the following locations:
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
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,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- Proposed as answer by Eve WangMicrosoft contingent staff, Moderator Monday, March 26, 2018 2:03 AM
-
Hi,
How things are going there on this issue?
Please let me know if you would like further assistance.
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
Hi,
Is there any update?
Please click “Mark as answer” if any of above reply is helpful. It would make this reply to the top and easier to be found for other people who has the similar problem.
Best Regards,
Eve WangPlease remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
You can consider of applying this via group policy - Start a program on connection. This Group Policy settings is located in the following locations:
User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment
Hello Eve,
I think this solution works for all users, also for Administrator. How should I work around it?Do you know the reasons because the "User profile" doesn't works anymore?
Thanks a lot.Ciao