How to Delete COM Ports In Use


Delete COM Ports

If you are having trouble with your COM ports stacking up because they are in use, these brief steps below will help you clear them out. (I found myself the other day needing to connect via a USB to Serial adapter to a server and noticed that 35 COM ports showed in use. Somehow the COM ports were not getting cleared out.)


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

Incoming search terms:

  • com port in use
  • com ports in use
  • com port in use windows 7
  • windows 7 com port in use
  • clear com ports
Tags:, , , ,
  1. Posted by Jay Sheldon
  2. Posted by Brian Jackson
  3. Posted by Charlie Chau
  4. Posted by John Chase
  5. Posted by Patrick O'Keeffe
    • Posted by Brian Jackson
  6. Posted by victor
  7. Posted by chris
  8. Posted by mike
  9. Posted by stype
  10. Posted by Bob
  11. Posted by Alfred Theorin
  12. Posted by Shiddhartha Nandy
  13. Posted by Muhammad Nadeem Sarwar
  14. Posted by Bryan
  15. Posted by Joost
  16. Posted by serestma
  17. Posted by TammyJo Sessamen
    • Posted by Brian Jackson
  18. Posted by Dale
  19. Posted by Frank Nash

Add Your Comment