博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
清理注册表中被占用的无效串口号
阅读量:4204 次
发布时间:2019-05-26

本文共 1405 字,大约阅读时间需要 4 分钟。

 

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).

转载地址:http://zbali.baihongyu.com/

你可能感兴趣的文章
MySQL必知必会 -- 创建计算字段
查看>>
MySQL必知必会 -- 使用数据处理函数
查看>>
MySQL必知必会 -- 数据汇总
查看>>
MySQL必知必会 -- 子查询的使用
查看>>
POJ 3087 解题报告
查看>>
POJ 2536 解题报告
查看>>
POJ 1154 解题报告
查看>>
POJ 1661 解题报告
查看>>
POJ 1101 解题报告
查看>>
ACM POJ catalogues[转载]
查看>>
ACM经历总结[转载]
查看>>
C/C++文件操作[转载]
查看>>
专业计划
查看>>
小米笔试:最大子数组乘积
查看>>
常见的排序算法
查看>>
5.PyTorch实现逻辑回归(二分类)
查看>>
6.PyTorch实现逻辑回归(多分类)
查看>>
8.Pytorch实现5层全连接结构的MNIST(手写数字识别)
查看>>
9.PyTorch实现MNIST(手写数字识别)(2卷积1全连接)
查看>>
hdu 3460 Ancient Printer(trie tree)
查看>>