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

How can I set the DTR line to high by default when a Windows 7 machine starts up?

Background: My own Windows service sets the condition of the com port lines to indicate its status. One of these is DTR high when in a startup state. However, since my service is set to delayed start, there is a period (2 mins, I think) when the DSR line is low after the machine is powered up, before my service starts and sets the DTR line to high.

share|improve this question

You choices are:

  1. Write code as a Device driver tagged BOOT_START which will load early but file system and other services would not necessarily be available.

  2. Tweak the order that your service starts see ServiceGroupOrder value in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control and if you are booting from an SSD then your time will be reduced significantly.

share|improve this answer
3. Pull up the external side of the DTR signal when the computer is switched on, and disconnect the pull-up resistor when the program is ready. Implementation details may be a little more involved. – Andrew Morton Mar 27 at 10:20

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.