I have phantom serial ports in Windows XP. How can I remove them?

博客介绍了移除幻影端口的方法,首先要删除所有非标准COM端口,可运行Regedit删除注册表额外条目,操作前需备份注册表。还说明了不同内置串行端口数量下COMDB的设置,以及清除非标准串行端口键的位置,最后提及Digi适配器的安装和重启操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The first step of removing the phantom ports is to remove all non-standard COM ports (remove any Multi-port serial adapters from the device manager).
Most likely there are leftover entries in the registry. You can run regedit to remove the extra entries.
NOTE: make a backup of the registry prior to taking any of the following steps. You edit the registry at your own risk.
Run regedit. Go to: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/COM Name Arbiter
Your system probably has:
The Data field of COMDB = FF FF FF 03 (or something similar).
It should have:
COMDB = 03 00 00 00, if you have 2 built-in serial ports (or 01 00 00 00 if you only have one built-in COM port).
NOTE: 03 in binary is 0000 0011 so the lowest bit set (the 1 on the right) means COM1 is in use, and the bit to its left, in the 2 position, means COM2 is set.
You will also want to clean keys for any non-standard serial ports from these places:
HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM
HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/Ports
You should be able to power down and reinstall the Digi adapter if it had been removed from the system. If it is installed, reboot the system. The adapter should be redetected and the driver installed. The com ports should now default to start at COM3 (or COM2 with only one built-in serial).

移除幻影端口的第一步是删除所有非标准的COM端口(从设备管理器中删除任何多端口串行适配器)。您可以运行Regedit来删除额外的条目。
注意:在执行以下任何步骤之前,对注册表进行备份。您需要自行编辑注册表。
运行Regedit。转到:HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/COM名称仲裁器
您的系统可能有:cmdb=ffffffff03(或类似的内容)的数据字段。
如果您有2个内置串行端口,则应该有:comb=03 00 00 00(如果您只有一个内置的com端口,则comb=01 00 00 00)。
最低位集(右边的1)表示Com1在使用中,左边的位表示COM 2被设置。
您还希望清除这些地方的任何非标准串行端口的键:
HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM
HKEY_LOCAL_MACHE/Software/microsoft/WindowsNT/CurrentVersion/Ports
如果Digi适配器已从系统中移除,则应该能够断电并重新安装它。
如果已安装,请重新启动系统。应重新检测适配器并安装驱动程序。
COM端口现在应该默认从COM 3开始(或者COM 2,只有一个内置串行)。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值