Windows, how to clean up unused COM ports

by luca
0 comment

It certainly happened to you that, when you connect a new USB device to your Windows PC, the operating system assigns the device a COM port with a high number because of the previous ones are in use:

com-0

Windows indeed keeps the COM port reserved even if the device is not physically connected to the computer. You can clear some old reservations with the following steps:

– run a command prompt as administrator:

com-1

– type the following commands:

set devmgr_show_nonpresent_devices=1
start devmgmt.msc

com-2

– choose View – Show hidden devices:

com-3

– you can now remove (uninstall) old devices and free the associated COM ports:

com-4

Related Posts

Leave a Comment

two × five =