Virtual COM Ports

General Chat, Introduce your self & Off topic

Virtual COM Ports

Postby Matt Denton » Tue Sep 18, 2012 5:55 pm

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).


http://theitbros.com/how-to-delete-com-ports-in-use
Matt Denton
AKA: Winchy_Matt

micromagic systems ltd
Matt Denton
Site Admin
 
Posts: 1622
Joined: Tue May 20, 2008 9:15 pm
Location: Winchester UK

Return to General & Off Topic

Who is online

Users browsing this forum: No registered users and 1 guest

cron