Windows 10: Force COM Port number change using Command line

Discus and support Force COM Port number change using Command line in Windows 10 Support to solve the problem; I have two USB devices that when plugged in must have COM ports 3 & 4 assigned, my question is how can I do this using a batch file? The two devices... Discussion in 'Windows 10 Support' started by Fugazi666, Apr 11, 2017.

  1. Fugazi666 Win User

    Force COM Port number change using Command line


    I have two USB devices that when plugged in must have COM ports 3 & 4 assigned, my question is how can I do this using a batch file?

    The two devices are a GEWA Transmitter (FTDIBUS\VID_0403+PID_6001+AI04WJT5A\0000) (needs to be COM3) and an ELDAT transmitter (USB\VID_155A&PID_1006\00005987) (needs to be on COM4)

    Cheers

    :)
     
    Fugazi666, Apr 11, 2017
    #1
  2. stx2010 Win User

    How do I delete the unused COM ports in Windows 10?

    Hi again Mike,

    Renaming the ports number is not a solution but was the way i worked around with this problem when i was getting out of COM ports .

    In the advanced properties of the COM ports you can change the port number to a lower number that you know is not in use. Note that the ones that were associated with Bluetooth modules removed from the system, still appear as being in use. You will get a
    warning from the system when you choose those ones, but you can force the change and it will work fine.

    Regarding the solution to this, i believe it is not hard to implement, because each Bluetooth device has a different hardware ID/MAC address. When you remove a device from the system, the COM ports associated with that ID could (and should) be automatically
    liberated. That´s my point of view Force COM Port number change using Command line :)

    Regards,

    Sérgio
     
    stx2010, Apr 11, 2017
    #2
  3. I am trying to force the com port

    I am connecting a series of bluetooth devices to a windows tablet. My problem is that the interfaces need the comport numbers which all change if the device is paired or repaired and are all different on each tablet. How can I force the com port and then
    hold it there if the device disconnects?
     
    lizward1174, Apr 11, 2017
    #3
Thema:

Force COM Port number change using Command line

Loading...
  1. Force COM Port number change using Command line - Similar Threads - Force COM Port

  2. Adding Internet Port by command line

    in Windows 10 Drivers and Hardware
    Adding Internet Port by command line: Hi, I'm trying to figure out how to add a printer using the add-printerport and add-printer commands. I can add my print server printers manually using the GUI, but I'm not able to do this by command line. If I run this command I can add a printer but with the wrong port...
  3. com ports

    in Windows 10 Customization
    com ports: How do I clear in use com ports in win 10? https://answers.microsoft.com/en-us/windows/forum/all/com-ports/13a6b2f9-f52d-467c-a680-4bfa363a639f
  4. COM ports

    in Windows 10 Drivers and Hardware
    COM ports: Have 2 USB COM ports on my laptop. I use them to connect to and upload Arduino programming. Device manager started out identifying them as COM port 3 an4, now says 4 and 6, sometimes both as COM port 5. Any info appreciated....
  5. Finding com port number.

    in Windows 10 Drivers and Hardware
    Finding com port number.: I have a very recently purchased HP LAPTOP-2B3H9B5S. Nov 2020. I am trying to find out how to find the com port settings. i have read the previous quotes from 2019. However they now appear not to be relevant. The latest advice says go to actions and go to previous software...
  6. Com Port

    in Windows 10 Drivers and Hardware
    Com Port: My Com 3 Port was working fine and I now plugged in a device and I see 2- Com 2 ports and 1- Com 2 port, none of which are connecting to my device? How can I reinstall the Com 3 port driver if I delete the current one can I still download it>...
  7. Com ports

    in Windows 10 Drivers and Hardware
    Com ports: Whenever I try to use serial communation I get an error code #12. The message is I don't have enough room for the com port. https://answers.microsoft.com/en-us/windows/forum/all/com-ports/2cc86c83-2c30-4ef6-b30b-32cbe6508edb
  8. changing com port designation

    in Windows 10 Customization
    changing com port designation: I have a HP-Notebook that shows com ports 3, 4, 5. I am trying to connect to another device whos software only accepts com 1 or com 2. How can I change one of my 3 ports to a different com # ? Thanks...
  9. Com ports

    in Windows 10 Customization
    Com ports: Where do I find the com port's that are assigned to a device that is connected with Bluetooth https://answers.microsoft.com/en-us/windows/forum/all/com-ports/1ebde4c0-a50f-4066-aaf1-ef4c7399ebe7
  10. Remove com ports in use?

    in Windows 10 Drivers and Hardware
    Remove com ports in use?: While installing a USB to RS232 ftdi cable I noticed that I have about 20 com ports that say "in use" but are not in fact being used by anything (at least I don't think so). Is there a way to clear those com ports so that they can be used by a new device? Obviously...