Page 1 of 1

Virtual COM Ports

PostPosted: Tue Sep 18, 2012 5:55 pm
by Matt Denton
Ok, this has bugged me for quite some time, each time I plug a USB to serial converter into a new USB port, a new port number is used up, so you end up with COM ports like COM28... even when one USB converter is plugged in. THis is fine but some software only uses the lower COM ports such as COM1 to COM16. I used to use a fix that removes all the ports from the device manager using regedit, however, I just found this solution that I feel is much more elegant:

Code: Select all
Step #1
One thing is to see if hidden devices are taking up the ports:
Click Start > All Programs > Accessories and then click Command Prompt.

Step #2
Type set devmgr_show_nonpresent_devices=1 in the Command Prompt and then press Enter.
(you might have to restart your computer after this)

Step #3
Type cd \Windows\system32 in the Command Prompt and then press Enter.

Step #4
Type start devmgmt.msc in the Command Prompt and then press Enter.

Step #5
Click View > Show hidden devices. This will display devices that are not connected to your computer.

Step #6
Now if you expand the section on COM ports, all the COM ports that have ever
been created will be displayed, the non present ones being in grey. You can
uninstall away anything that you don’t want (right click, select uninstall).