Skip to content

Instantly share code, notes, and snippets.

@dakoctba
Created April 16, 2014 10:21
Show Gist options
  • Save dakoctba/10848137 to your computer and use it in GitHub Desktop.
Save dakoctba/10848137 to your computer and use it in GitHub Desktop.
How do I delete the unused COM ports in Windows 7?
The trick was to open the Command Prompt as administrator and start the Device Manager from the same command prompt.
1. Right-click “Command Prompt” in Accessories and choose “Run as Administrator”
2. Enter “set devmgr_show_nonpresent_devices=1″ – without the quotes obviously
3. Enter “start devmgmt.msc”
4. In the box that opens, select “Show hidden devices” in the ‘view’ menu.
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).
by
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/how-do-i-delete-the-unused-com-ports-in-windows-7/4bb72733-1be0-4168-9ba5-68dcb72d31d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment