Getting a list of assigned Com Ports if the devices aren't connected


  1. Posts : 96
    Win7 x64
       #1

    Getting a list of assigned Com Ports if the devices aren't connected


    Device Manager is not the answer.
    I did a search, but most of the results pointed to using DM which doesn't work if the devices are not connected. That only shows Com1.

    Using programs that program radio devices (receivers and transceivers) that use a USB as the communications path. When you connect the device DM assigns a port to them (hopefully). The problem is, when I add another program to control a different device, the previous program looses it's assigned Com port forcing me to choose another. Similar to using DHCP instead of Static IP addresses, which is why I have always used Static addresses.

    Best example is; I thought I may of had a issue with a Serial to USB adapter cable. I bought two, one as a spare. I removed the 1st one, connected the 2nd, it assigned a new port number to that even thou it was the same cable type and the same device. Doing so apparently 'bumped' another programs Com Port, forcing me to try to reassign a new port, which is a problem (that program and device has enough issues as it is.

    There must be a file somewhere, unless it's in the Registry, that keeps track of the different devices and the Com port numbers somewhere even after they are removed, or just not in use so I can see the list of current and past assignments or whatever they are called.

    I hope all of that made some sense.
      My Computers


  2. Posts : 3,785
    win 8 32 bit
       #2

    Its a bit more complicated than that com ports can be shared and share things like irq dma. How many ports do you have on the motherboard?
      My Computer


  3. Posts : 0
    Windows 7 Ultimate x64
       #3

    Nirsoft's USBDeview is what you might be interested in. View any installed/connected USB device on your system

    Read ALL the option menus in the program. The program has a wealth of menu options...

    I would download the USB device and vendor IDs from here. Now select ALL and copy/paste to a text editor like Notepad or Notepad ++, etc and save that text file as usb.ids. Now place that file in the same folder as USBDeview. Now when you launch USBDeview you'll see a vendor name and possibly a product name for the USB device.

    USBDeview shows ALL of what was previously connected. The program can help to uninstall all the crap you longer use for troubleshooting purposes. But be very careful as to not uninstall your mouse and keyboard, etc. Otherwise you'll have to press and hold the computer's power button for a forced shutdown and then reboot so hopefully Windows will reinstall the mouse and keyboard drivers again. Been there done that...

    Are these programs like ProScan, Chirp, etc? When I run ProScan the device IDs are unique and seem to hold their assigned COM ports. Though, I don't have more than one scanner of the same type either. Just more than one scanner. So that [i]could[/i[ be a wrench in the gears in terms of unique COM port assignments if you had two of the same scanner or two-way radio.
      My Computer


  4. Posts : 96
    Win7 x64
    Thread Starter
       #4

    samuria said:
    Its a bit more complicated than that com ports can be shared and share things like irq dma. How many ports do you have on the motherboard?
    The only one that always shows is "Communications Port(Com1)"
    There is a added serial port card, but that is rarely if ever used. It was only for 2 pieces of older equipment that only had serial as a interface. used. Any time something else is connected, it will just show that specific device assuming there isn't a conflict and the driver was loaded properly.

    - - - Updated - - -

    F22 Simpilot said:
    Nirsoft's USBDeview is what you might be interested in. View any installed/connected USB device on your system USBDeview shows ALL of what was previously connected.
    Are these programs like ProScan, Chirp, etc? When I run ProScan the device IDs are unique and seem to hold their assigned COM ports. Though, I don't have more than one scanner of the same type either. Just more than one scanner. So that [i]could[/i[ be a wrench in the gears in terms of unique COM port assignments if you had two of the same scanner or two-way radio.
    Golly, I forgot about that. I have used it in the past a couple of times, but it was some time back.
    Good guess on ProScan & Chirp (which I probably won't use since the radio has it's own program), Icom's IC-2730 which is the reason for the post. The adapter cables use the Prolific chipset. But, where is Com 2??

    Here is a screen shot (with all the extra columns hidden, which it easier to read this. Also, I have it sorted by date/time which makes finding something easier.
    Attached Thumbnails Attached Thumbnails Getting a list of assigned Com Ports if the devices aren't connected-usb-deview-screen-shot.png  
    Last edited by videobruce; 14 Feb 2024 at 08:48. Reason: updated
      My Computers


  5. Posts : 0
    Windows 7 Ultimate x64
       #5

    Click on the "Drive Letter" column once or twice and that'll sort the COM ports.

    Have you tried radioreference.com? I'm a member there too. LOL
      My Computer


  6. Posts : 96
    Win7 x64
    Thread Starter
       #6

    I thought I recognized your handle.
      My Computers


  7. Posts : 0
    Windows 7 Ultimate x64
       #7

    No, I use a different username. Always do across the Internet except for these forums.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 08:57.
Find Us