A:可以通过删除注册表中的一个数值项来清除这些配置:在“运行”对话框中输入“regedit”进入注册表;然后进入 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM Name Arbiter这时我们可以找到该数值项:ComDB,它的值代表目前使用中的串口端号。比如1d,它的二进制:0001 1101,则从右往左数代表第1,3,4,5端口被占用。这样我们只需要把ComDB这个数据项删除,关闭注册表(不用重启电脑)即可。
Enter set devmgr_show_nonpresent_devices=1 into Command Prompt
Open Device Manager
Click View -> Show Hidden Devices
Now when you expand the section on COM ports, the non present COM ports will be in grey. You can now easily remove any unwanted devices that are tying up COM ports by Right Clicking then selecting Uninstall. After you are done, should you wish to hide these devices again you can do so by entering
set devmgr_show_nonpresent_devices=0 in Command Prompt.