Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is it possible to run a task when a user reconnects to a remote desktop session? Some software is running on a machine that cannot be run as service and must always run, but I also need to trigger some things when a user reconnects to the session. Is this possible? I would really prefer not to have a scheduled task running once a minute...

share|improve this question
up vote 0 down vote accepted

If you open up the Options in the Remote Desktop connection dialog, you should see a tab named Programs. You can specify the program you want to run, along with its start folder, on that dialog. You can of course also save the settings in a file from the General tab.

share|improve this answer
I was really hoping for a solution on the remote machine, but this does answer the question. I require certain programs to run on connect but I cannot guarantee that with a client-side solution. – wes Apr 15 '11 at 18:11

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.