Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Com port number / IRQ number for DOS not staying the same after restart.

Posted on 2007-10-05
Medium Priority
Last Modified: 2013-12-11
I have a customer that has a DOS aplication that prints directly to the com port ( and COM2 is hard coded into the application)
The computer's com port under device maniger shows the port as COM2, but under DOS it shows COM1 ( when using MODE command)
In order to get DOS to see the COM port as COM2, the user has to go into device maniger and change the settings, change it back, and the use the program in question.

Every time the computer starts up, it the com port under dos shows COM1, until it is changed manually by the user.

Can the com port be re-directed (or the IRQ changed from the command line ?)
Question by:Xorb
LVL 32

Assisted Solution

willcomp earned 240 total points
ID: 20022603
Check motherboard BIOS settings (provided it's an integrated serial port). Usual BIOS default is Auto. Set serial port to COM2/IRQ3 in BIOS.
LVL 20

Assisted Solution

nedvis earned 240 total points
ID: 20045670
Other things to consider:
-check if the serial port COM2 is in use by internal dial-up modem and if so
either disable modem or configure it to use COM1.

Accepted Solution

mrfixit22 earned 270 total points
ID: 20161189
Boot to Safe Mode
Remove the drivers for all the COM ports in Device Manager, reboot to normal mode.

Author Comment

ID: 20191168
Hi Guys
Sorry I took so long to get back.

Tried all of the sugestions, but the problem is still there. However, the need to solve this problem has now gone, since the device that was attached to that port (printer) has now broken down, and all replacement models are USB. The old software is being re-developed into a access database.

I'm splitting the points between everyone that tried to help.

Thanks for your time.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question