Windows – How to clean up COM ports in use

64-bitserial portwindows 7

How do I clean-up these in-use COM ports?
enter image description here

The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.

Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.


Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.

Best Answer

Run Device Manager from elevated command line:

> devmgmt.msc

Enable "Show hidden devices" in the menu, and uninstall grayed-out COM ports.