Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

Use a group policy to apply this setting.

share|improve this answer
    
I only want the rule to be applied upon login to RemoteDesktop, not when they login to their local PC on the domain... –  Jonathan Sep 2 '12 at 11:56
    
Did you even bother reading the page I referred you to? Create a GPO that enforces the Start a program on connection setting. It does the exact same thing as the Start a program section in the Remote Desktop client. See here as well. –  Ansgar Wiechers Sep 2 '12 at 12:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.