Launch script on login to RDS – server side

remote-desktop-serviceswindows-server-2008-r2

I have a logon script that I want to be run when users login to remote desktop on my WinServer2008r2 box. I know I can do this client-side (in the RemoteDesktopClient "Run Program" options) but would rather it be enforced server-side. If I assign the logon script to a GPO, the script will be run whenever the user logs into their local PC.

I would like to assign the logon script to the Remote Desktop Users group, but only when they're logging into remote desktop, not when they're logging into their own system.

Thoughts?

Best Answer

Use a group policy to apply this setting.