- Click start → Run → type
regeditand click OK button - Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter - Now on the right panel, you can see the key
ComDB. Right-click it and click modify - In value Data section set all to zero (
00)
Its 32 bytes with 8 bits in each byte in hexadecimal representation. A bit of value 1 makes a port number (1…256) reserved. The first 8 ports are in two leftmost hexadecimal values, bits ascending from lowest to highest right to left, the next 8 ports are in the second two and so on: hexF3 24would be binary1111 0011 0010 0100, which means that following ports are used:1, 2, 5, 6, 7, 8(1111 0011)and11, 14(0010 0100). - Set value to zero to remove all com ports
- click Start / (right click:) Computer / Properties / Advanced System Settings (not Device Manager)
- Click Environment Variables
- Click in the System variables (bottom section) click New
- Enter Variable Name: DEVMGR_SHOW_NONPRESENT_DEVICES
Enter Variable Value: 1 - Click OK (exits Environment)
- Click OK (exits System Properties)
- Click Start. In the command box, type Manage This shows the Computer Management window …
- Click Device Manager
- Click View and select Show Hidden Devices
- Click Ports (COM & LPT)
Now all the ports, real (black text) and phantom (grayed out text) appear. - One by one, right click the phantom ports, and select Uninstall
This should now have cleared out your system of unwanted phantom USB ports.
Note: after cleaning out all my phantom ports, leaving only “COM1”, I find my Registry shows: