返回> 网站首页 

usb转串-串口占用过多的清除办法

yoours2012-10-18 15:58:12 阅读 1673

简介一边听听音乐,一边写写文章。

清除注册表中,不需要的串口号。清除前请先备份注册表

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM]
"\\Device\\VCom3"="COM3"
"\\Device\\VCom6"="COM6"
"\\Device\\VCom9"="COM9"
"\\Device\\VCom10"="COM10"
"\\Device\\VCom11"="COM11"
"\\Device\\VCom12"="COM12"
"\\Device\\VCom13"="COM13"
"\\Device\\VCom14"="COM14"
"\\Device\\VCom15"="COM15"
"\\Device\\VCom16"="COM16"
"\\Device\\VCom17"="COM17"
"\\Device\\VCom18"="COM18"
"\\Device\\VCom19"="COM19"
"\\Device\\VCom20"="COM20"
"\\Device\\Serial0"="COM1"
"\\Device\\Serial1"="COM2"
"\\Device\\Serial2"="COM4"


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports]
"COM2:"="9600,n,8,1"
"FILE:"=""
"LPT1:"=""
"LPT2:"=""
"LPT3:"=""
@=""
"XPSPort:"=""
"Ne00:"=""
"COM1"="9600,n,8,1"
"COM2"="9600,n,8,1"
"COM3"="9600,n,8,1"
"COM4"="9600,n,8,1"
"Ne01:"=""
"Ne02:"=""
"Ne03:"=""
"COM3:"="9600,n,8,1"
"COM1:"="9600,n,8,1"
"COM9:"="9600,n,8,1"
"COM10:"="9600,n,8,1"
"COM12:"="9600,n,8,1"
"COM11:"="9600,n,8,1"
"COM23:"="9600,n,8,1"
"COM8:"="9600,n,8,1"
"COM6:"="9600,n,8,1"
"COM20:"="9600,n,8,1"
"COM19:"="9600,n,8,1"
"COM18:"="9600,n,8,1"
"COM17:"="9600,n,8,1"
"COM16:"="9600,n,8,1"
"COM15:"="9600,n,8,1"
"COM14:"="9600,n,8,1"
"COM13:"="9600,n,8,1"
"COM4:"="9600,n,8,1"
"COM5:"="9600,n,8,1"

另:
1.在Windows系统,按开始>执行>输入cmd,按回车 
2.出现命令字符视窗之後,输入 
  set DEVMGR_SHOW_NONPRESENT_DEVICES=1 
  按回车 
  devmgmt.msc 
  按回车 
3.然后在设备管理器点击>查看>显示隐藏的设备 
  您现在能能删除多余的端口了,删除完毕之後,请务必重新开机 

如何把usb端口号复位由于经常更换设备com从com1到了com100多了
把USB端口号归零方法:
开始—运行:regedit,进入注册表编辑器:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter]把ComDB文件删除,重启即可
I have phantom serial ports in Windows XP. How can I remove them?
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).
微信小程序扫码登陆

文章评论

1673人参与,0条评论