Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the Programs tab of Windows' RDP application, there is a Start the following program on connection option.

Does On Connection literally mean on connection? As in will the program I specify be started after I connect and before I login, or does On Connection really mean On Login?


share|improve this question
up vote 3 down vote accepted

It means once you've connected and logged in successfully.

share|improve this answer

Well... it depends. See the Microsoft documentation on that feature for the run down. In general it does not pose a security risk since in most instances it fails... If you need to use this as a legitimate feature a login script is always preferred.

share|improve this answer

A user session is required to execute the specified program, so the connection must be established and the user logged in.

(Note that in certain cases the program will not run, and instead a console (on Windows XP RDP) or desktop session might run.)

share|improve this answer

Your Answer


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.