Server 2012 Remote Desktop start program on connection

Windows Server 2012 R2 Remote Desktop Services – Start A Program On Connection via GPO

Date December 1, 2017 Author By kadmin Category Windows Server 2012

9 Replies

· · ·

Pure Capsaicin

OP

Rod-IT Dec 19, 2016 at 15:56 UTC

Windows Server expert

219 Best Answers

384 Helpful Votes

I don't like them, but how about a login script?

2

· · ·

Mace

OP

Justin1250

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Dec 19, 2016 at 16:00 UTC

Windows Server expert

224 Best Answers

417 Helpful Votes

You could use a User GPP and push a run regkey

//msdn.microsoft.com/en-us/library/windows/desktop/aa376977[v=vs.85].aspx

2

· · ·

Jalapeno

OP

Best Answer

DavidCannon89 Dec 19, 2016 at 16:04 UTC

You should be able to add an EXE into the following GPO:

Text

Computer Configuration\Administrative Templates\System\Run These Programs at User Logon



0

· · ·

Thai Pepper

OP

mjmitchell83

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Dec 19, 2016 at 17:27 UTC

If this is a terminal server you could redirect the start menu [if not doing so already]. Just create a security group and a start menu on your file share for each different group then redirect the start menu by security group.

0

· · ·

Chipotle

OP

Travis2038 Dec 19, 2016 at 17:39 UTC

Scheduled tasks is always an option.

//blogs.technet.microsoft.com/askpfeplat/2015/04/26/the-startup-script-is-dead/

0

· · ·

Habanero

OP

kfberns

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Dec 19, 2016 at 17:48 UTC

A lot of great ideas, thanks.

I'm testing the GPO option now but would like to know Why the startup folder isn't working. Has something been changed in Server 2012-R2 [security??] or is my server simply misbehaving??

0

· · ·

Thai Pepper

OP

mjmitchell83

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Dec 19, 2016 at 22:41 UTC

kfberns wrote:

A lot of great ideas, thanks.

I'm testing the GPO option now but would like to know Why the startup folder isn't working. Has something been changed in Server 2012-R2 [security??] or is my server simply misbehaving??

Which GPO option are you trying? If you're trying the Folder Redirection for the start menu it should work fine this is the policy I use for our 2012R2 terminal servers. But I can't say on David's GPO suggestion I've never tried that on a server.

0

· · ·

Sonora

OP

tqmbill Jan 3, 2018 at 17:39 UTC

On 2012 r2 there's a LOGON subfolder in the GPO path:

Computer Configuration\Administrative Templates\System\LOGON\Run These Programs at User Logon

DavidCannon89 wrote:

You should be able to add an EXE into the following GPO:

Text

Computer Configuration\Administrative Templates\System\Run These Programs at User Logon




1

· · ·

Pimiento

OP

clamaz May 20, 2018 at 13:26 UTC

1st Post

Hi kfberns, did you resolve the problem? Just because I felt in the same issue migrating a remote desktop server from 2008 to win 2016. The old way doesn't work anymore.

I tried to modify local policy of remote desktop server using:

Computer Configuration\Administrative Templates\System\logon\Run These Programs at User Logon

But this modifies behavoir, for all users, that log on this server. Also for administrator.

In the old way, I set remote desktop client icon, to run a particular sw at startup, and that was all. It worked. When user close the program, also close the remote desktop session.
Any suggestion will be apreciated.


0

· · ·

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Additional Resources

NOTE : For newer versions of OS, refer //support.citrix.com/article/CTX218256
You might receive the following error messages:





To resolve this error, complete the following steps:

Presentation Server 4.5 or XenApp 5 on Windows Server 2003

  1. Click Start > Programs or All Programs > Administrative Tools > Terminal Services Configuration.

  2. Right-click on RDP-Tcp listener in the Connections hive.

  3. Select Properties.

  4. Activate the Citrix Settings tab.

  5. Clear the Non-Administrators only launch published applications option.

XenApp 6.x on Windows Server 2008 R2

  1. Open the Citrix AppCenter management console.

  2. Select Policies underthe farm.

  3. Activate the User tab.

  4. Add a new or modify an existing user policy.

Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.

  1. In the Edit Policy Window, on the Settings tab, open ICA settings.

  2. Enable the Launching of non-Administrator programs during client connection option.

  1. Ensure that the policy is filtered properly to the user that is used for the RDP connection.

Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.

Video liên quan

Bài Viết Liên Quan

Toplist mới

Bài mới nhất

Chủ Đề