Registrycleanerkit Serial Port
RegistryCleanerKit can be installed on Windows XP/Vista/7/8/10 environment, 32-bit version. The program's installer is commonly called registrycleanerkit.exe. This download was checked by our built-in antivirus and was rated as safe. The most popular version of the RegistryCleanerKit is 1.0. The latest installer occupies 20.3 MB on disk.
How do I clean-up these in-use COM ports?
The COM port numbers always seem to be taken up by something and although right now I only have 4 serial ports (3 over Bluetooth and one USB to RS-232), I have numerous COM ports set as in use. I'd like to clean that list up a bit.
Also it seems to me that from time to time, one of the taken COM ports gets freed up and then one of the devices I use will take that number creating confusion, since I'll have to go and hunt its com number in device manager.
Registrycleanerkit Serial Ports
UPDATE:
Well I just cleaned up countless USB devices that once were connected to the computer using USBDeview and still the problem still remains.
Journeyman Geek♦9 Answers
Run Device Manager from elevated command line:
Enable 'Show hidden devices' in the menu, and uninstall grayed-out COM ports.
grawitygrawityI found a useful answer at How to clear or Reset COM port ?
- Click start → Run → type
regedit
and click OK button - Navigate to
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCOM Name Arbiter
- Now on the right panel, you can see the key
ComDB
. Right-click it and click modify - In value Data section select all and delete reset to zero (
0
)
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 24
would be binary1111 0011 0010 0100
, which means that following ports are used:1, 2, 5, 6, 7, 8
(1111 0011)
and11, 14
(0010 0100)
. - Close the registry editor and then restart your computer. If you set the value to
0
all COM ports are free.
You may need to reinstall any USB-to-serial converter.
Thanks for all the advice above. I wrote software to automatically clean up the Registry but though it did adjust the Hardware, Software, and Arbiter sections it did NOT remove the phantom COM port entries. Even a reboot with the 'USB to 2Serial Port' device removed did not clean up the system properly.
However, the instructions on this PDF did work correctly:
For Win7, I adjusted the instructions slightly on that PDF to be:
- 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:
And a right click on Computer / Properties / Device Manager / Ports shows only COM1. Right click on COM1 / Properties / Port Settings / Advanced shows COM1 with COM2 'in use' and COM3 'in use'. All the other settings up to 7 that used to be 'in use' are now freed up. So only the 'Arbiter' setting seems to be telling the Win7 system what is really 'in use'. The Computer Management system has cleaned up the Arbiter, but not cleaned up the Software section..
.. many are the mysteries of Microsoft..
Máté JuhászResolving USB driver issues
Method Using Elevated Command Prompt
ie type cmd in search bar then right click cmd.exe selecting Run as Administrator
• 1st stage As discussed from command prompt type; set devmgr_show_non_present_devices=1 devmgmt.msc
• 2nd Stage Again from Elevated Command Prompt - Remove Driver Packages from drivers store. The driver store is a protected area of the computer that contains device driver packages that have been approved for installation on the computer
Note all oem###.inf instances of the prolific driver where # (hash) is the number.
Ckfinder licence crack. CKFinder is a powerful and easy to use Ajax file manager for Internet browsers. It features quick responses, folders tree navigation, quality image thumbnails, making it quick to find things, multi-language support with automatic user language detection, context-sensitive menus for files and folders, multiple file uploads with a progress bar, drag-and-drop support for copying and moving files between folders, store files in private folders, also outside the document root, and all uploaded files are checked according to the rules set by the developer. Its simple interface makes it intuitive and quick to learn for all groups of users, from Internet beginners to advanced professionals.
(use space between exe & - and d & Oem then press enter) Remember to replace # with the number of the inf file you want to delete.
If the computer reports that the driver package is in use by a currently installed device, then you must either uninstall the device first, or use the -f on the pnputil command to force deletion of the package.
Also you may have driver package loaded on as program that may need removal using control panel/programs/uninstall a program.
If you do all that before loading the correct driver package and try to keep the Com device inserted in the same port rather than moving it around your ports you will have fewer problems with the Prolific driver.
I found that this tool works excellently for this issue.
Device Removerhttps://www.majorgeeks.com/files/details/device_remover_543c.html
Just load it up, click on 'Display Mode', 'Show only hidden/detached devices', Check 'Ports' (which selects all the unused com ports), then click 'Remove all checked', and confirm the removal when the warning appears.
Cheers!
~Andrew
EmpoweringSolutions.net
I have a simple solution that worked for me.. my count was up to 45 com ports in use!
1) Open Device Manager
2) From the View menu, select 'Show Hidden Devices'
3) Expand 'Ports (COM & LPT)' category from the list
4) Right-click on all the devices and remove them (no need to tick to delete the driver)
5) From the Action menu, select 'Scan for New Devices'
6) Viola! All the actual devices will be re-allocated from COM1
These did not work for me. But official Microsoft help page worked for me.
From https://support.microsoft.com/en-us/kb/222018
- In the Printers folder, click Server Properties on the File menu.
- Click the Ports tab, click the port you want to remove, click Delete Port, and then click OK.
(For those who came from google)
If previos answer doesn't work and has installed windows mobile 6 SDK. It may be problem with XPVCOM.SYS (this driver reserved 14 COM ports) To uninstall in console
CD Program FilesWindows Mobile 6 SDKToolsCellular Emulator
InstallXPVCom.exe UnInstall
then reboot.
For those who do not want to use the CMD line interface I use this in Windows 7.
- Open Control Panel
- Select 'SYSTEM' from the menu
- Select 'ADVANCED SYSTEM SETTINGS' on the left
- Select 'ENVIRONMENT VARIABLES' on the bottom right of the box
- Look for 'DEVMGR_SHOW_NONPRESENT_DEVICES' in the System Variableslist. If it is not there create it and assign it a variable value of
- Back out with OK, OK, OK. You are now back in the Control panel screen.
- Select 'Device Manager' and go to 'View'
- Select 'Show Hidden Devices' and all hidden devices including theComm ports will be shown greyed out or Ghosted.
- Select the ones you want to remove, right click and select'Uninstall'
protected by Community♦Dec 11 '18 at 9:14
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged windows-764-bitserial-port or ask your own question.
I writing some code in C# to get the COM port where a bluetooth device with a specific name is mapped. I tried several solutions similar to the ones listed here, but with none of them I have access to the name as in the bluethooth settings window as in the picture below:
If it's on that window I'm sure there is a way to find it. Any help?
Thanks a lot
3 Answers
Try the following code snippet. I use it to find serial devices by name in an application that I use every day.
tier1tier1After looking for a solution,This is what I found (I'm using this for my project)
And now, create a new class and add those references
Found at: https://social.msdn.microsoft.com/Forums/Azure/en-US/b9d0adc3-b489-4245-91b9-6016a89302b9/get-bluetooth-com-ports?forum=csharpgeneral