# How to Find Hidden COM Ports

## Overview

This mini tutorial will show you how you can find and uninstall all those extra COM ports you may have registered from years of microcontroller-hacking.  
  
You may have noticed that every time a new FTDI-based board is plugged in, you get a new COM port. You might also get new COM port assignment with adapters, etc. Eventually you can get into pretty high COM port numbers and that can be really annoying! For example, on my 6-month old Windows 7 install I'm already up to COM38!

![](https://cdn-learn.adafruit.com/assets/assets/000/005/276/medium800/microcontrollers_com38.png?1396821707)

At some point you may want to figure out what were all those other COM ports and perhaps uninstall the "ghost" devices. Under windows this isn't particularly easy unless you know how. Luckily, this tutorial will show you how and its really easy once you know!  
  
First up, you'll have to open up a **Command Prompt** and in Windows 7 it has to be run as administrator. Open up the start menu and start typing in "Command" until the black C:\ icon appears. Right click and select **Run as Administrator** If you have some other version of Windows, you may not have to run as admin.

![](https://cdn-learn.adafruit.com/assets/assets/000/005/277/medium800/microcontrollers_runasadmin.png?1396821679)

Now type in **set devmgr\_show\_nonpresent\_devices=1** (which is the magic command to show ghost devices) followed by **start devmgmt.msc** (which starts up the device manager)

![](https://cdn-learn.adafruit.com/assets/assets/000/005/278/medium800/microcontrollers_setdev.png?1396821664)

Now you're almost done, select **Show hidden devices** from the **View** menu

![](https://cdn-learn.adafruit.com/assets/assets/000/005/279/medium800/microcontrollers_showhidden.png?1396821639)

Voila! You can now see every COM port you've ever made, and you can also now select which ones you want to uninstall so the COM port number can be recycled

![](https://cdn-learn.adafruit.com/assets/assets/000/005/280/medium800/microcontrollers_hiddenshown.png?1396821618)


## Featured Products

### FTDI Serial TTL-232 USB Cable

[FTDI Serial TTL-232 USB Cable](https://www.adafruit.com/product/70)
Just about all electronics use TTL serial for debugging, bootloading, programming, serial output, etc. But it's rare for a computer to have a serial port anymore. This is a USB to TTL serial cable, with a FTDI FT232RL usb/serial chip embedded in the head. It has a 6-pin socket at the end...

In Stock
[Buy Now](https://www.adafruit.com/product/70)
[Related Guides to the Product](https://learn.adafruit.com/products/70/guides)
### FTDI Friend with Micro USB Port + extras

[FTDI Friend with Micro USB Port + extras](https://www.adafruit.com/product/284)
Long gone are the days of parallel ports and serial ports. Now the USB port reigns supreme! But USB is hard, and you just want to transfer your every-day serial data from a microcontroller to computer. What now? Enter the FTDI Friend!

The FTDI Friend is a tweaked out FTDI FT232RL chip...

In Stock
[Buy Now](https://www.adafruit.com/product/284)
[Related Guides to the Product](https://learn.adafruit.com/products/284/guides)
### FLORA - Wearable electronic platform: Arduino-compatible

[FLORA - Wearable electronic platform: Arduino-compatible](https://www.adafruit.com/product/659)
FLORA is Adafruit's fully-featured wearable electronics platform. It's a round, sewable, Arduino-compatible microcontroller designed to empower amazing wearables projects.FLORA comes with Adafruit's support, [tutorials and...](http://learn.adafruit.com/category/flora)

In Stock
[Buy Now](https://www.adafruit.com/product/659)
[Related Guides to the Product](https://learn.adafruit.com/products/659/guides)
### Adafruit METRO 328 Fully Assembled - Arduino IDE compatible

[Adafruit METRO 328 Fully Assembled - Arduino IDE compatible](https://www.adafruit.com/product/50)
We sure love the ATmega328 here at Adafruit, and we use them&nbsp;_a lot_&nbsp;for our own projects. The processor has plenty of GPIO, Analog inputs, hardware UART SPI and I2C, timers and PWM galore - just enough for most simple projects. When we need to go small, we use a <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/50)
[Related Guides to the Product](https://learn.adafruit.com/products/50/guides)
### Arduino Leonardo ATmega32u4 with headers

[Arduino Leonardo ATmega32u4 with headers](https://www.adafruit.com/product/849)
 **Note:** This product is&nbsp; **discontinued,** but you can purchase the [Seeeduino Lite](https://www.adafruit.com/product/3228), which is an equivalent alternative that can be used instead.

The Arduino Leonardo is a microcontroller board based on...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/849)
[Related Guides to the Product](https://learn.adafruit.com/products/849/guides)
### Arduino Micro with Headers - 5V 16MHz - (ATmega32u4 - assembled)

[Arduino Micro with Headers - 5V 16MHz - (ATmega32u4 - assembled)](https://www.adafruit.com/product/1086)
_Squee_! It's the cutest, tiniest little Arduino yet! The Arduino Micro packs all of the power of the Arduino Leonardo in a 1.9" x 0.7" (48mm x 18mm) size. Although it may look like a stick of gum, its actually a USB-native 8-bit microcontroller, with 32K of flash, and...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1086)
[Related Guides to the Product](https://learn.adafruit.com/products/1086/guides)
### USB/Serial Converter

[USB/Serial Converter](https://www.adafruit.com/product/18)
This USB cable adds a DB9 serial port to your computer or laptop. Works with MacOS X, Linux and Windows. Note that this provides (approximately) +-6V serial (RS232) not 5V serial (TTL), good for old devices like GPS, handhelds, programmers, etc with chunky DB9's on the side. Some cheaper...

In Stock
[Buy Now](https://www.adafruit.com/product/18)
[Related Guides to the Product](https://learn.adafruit.com/products/18/guides)
### USB to TTL Serial Cable - Debug / Console Cable for Raspberry Pi

[USB to TTL Serial Cable - Debug / Console Cable for Raspberry Pi](https://www.adafruit.com/product/954)
The cable is easiest way ever to connect to your microcontroller/Raspberry Pi/WiFi router serial console port. Inside the big USB plug is a USB\<-\>Serial conversion chip and at the end of the 36" cable are four wire - red power, black ground, white RX into USB port, and green TX out...

In Stock
[Buy Now](https://www.adafruit.com/product/954)
[Related Guides to the Product](https://learn.adafruit.com/products/954/guides)

## Related Guides

- [Light Meter](https://learn.adafruit.com/light-meter.md)
- [Ladyada's Learn Arduino - Lesson #2](https://learn.adafruit.com/ladyadas-learn-arduino-lesson-number-2.md)
- [Adding Third Party Boards to the Arduino v1.6.4+ IDE](https://learn.adafruit.com/add-boards-arduino-v164.md)
- [Arduino Lesson 16. Stepper Motors](https://learn.adafruit.com/adafruit-arduino-lesson-16-stepper-motors.md)
- [Smart Cocktail Shaker](https://learn.adafruit.com/smart-cocktail-shaker.md)
- [Programming Arduino with Android and Windows Tablets](https://learn.adafruit.com/programming-arduino-with-android-and-windows-tablets.md)
- [36mm LED Pixels](https://learn.adafruit.com/36mm-led-pixels.md)
- [FLORA Pixel Brooch](https://learn.adafruit.com/flora-pixel-brooch.md)
- [Wireless Power Switch with Arduino & the CC3000 WiFi Chip](https://learn.adafruit.com/wireless-power-switch-with-arduino-and-the-cc3000-wifi-chip.md)
- [Glowing WhoVille Hat](https://learn.adafruit.com/glowing-whoville-hat.md)
- [1,500 NeoPixel LED Curtain with Raspberry Pi and Fadecandy](https://learn.adafruit.com/1500-neopixel-led-curtain-with-raspberry-pi-fadecandy.md)
- [A REST API for Arduino & the CC3000 WiFi Chip](https://learn.adafruit.com/a-rest-api-for-arduino-and-the-cc3000-wifi-chip.md)
- [DIY 8x2 LCD Shield](https://learn.adafruit.com/diy-8x2-lcd-shield.md)
- [Arduino Lesson 2. LEDs](https://learn.adafruit.com/adafruit-arduino-lesson-2-leds.md)
- [Haptic Headband](https://learn.adafruit.com/haptic-headband.md)
