Reading List

The Selfish Gene
The Psychopath Test: A Journey Through the Madness Industry
Bad Science
The Feynman Lectures on Physics
The Theory of Everything: The Origin and Fate of the Universe


ifknot's favorite books »

Friday 22 May 2020

Windows 10: Clean out unused COM ports


Do your COM ports look like this?

Then you've probably just discovered Windows is rubbish at handling USB COM port devices if you plug and unplug them willy-nilly.

How to clean out your COM port cruft:


  1. Run Command prompt with the elevated privileges.
  2. To enable device manager show absent device(s) enter devmgr_show_nonpresent_devices=1 
  3. Restart computer & Run Command prompt with the elevated privileges.
  4. Enter cd c:\Windows\system32 

  5. Enter devmgmt.msc
    (device manager is now running elevated and showing 'nonpresent' devices)
  6. In device manager activate the display of hidden devices from the top menu by clicking View > Show hidden devices.
    (This will list all devices including those that are no longerconnected)
  7. Expand the Ports (Com&LPT) section, all the COM ports that have ever been created will be displayed (the hidden and unused ones being in grey).
  8. Uninstall to your heart's content (right click, select Uninstall).


No comments:

Post a Comment