Current location - Quotes Website - Collection of slogans - After the win7 serial port is released, the computer restarts and is occupied again. How to solve it?
After the win7 serial port is released, the computer restarts and is occupied again. How to solve it?
To kill computer viruses, it is best to use safe mode to kill viruses and find a better antivirus software. Try the following methods. If not, you can only redo the operating system.

The solution is as follows:

1. Open "HKEY _ Local _ Machine \ Hardware \ Device Map \ Serial Communication" in the registry. At this time, the following two keys are found: USB serial port should be displayed in the device manager, and the serial number should be COM2.

2. Create two new keys: \Device\Serial0 with the value of com1\ device \ serial1and the value of COM2, as shown in the following figure:

3. Open the serial debugging software and find that the serial port can be found. After selecting the correct serial port in the software, the software can be used!

4. Some USB serial ports are not COM 1 or COM2 after the driver is installed, and the serial numbers will be larger, and there will be larger serial numbers such as COM4 and COM5. In order to use the serial port when a larger serial number appears, I created eight registry keys in the same way.

Note: Although the serial number of USB serial port can be changed at will in Device Manager, the newly created 8 buttons will be repeated after the change, and the serial number displayed in serial port software will also be repeated, resulting in the software prompting that the serial port is occupied when the repeated serial number is selected. Therefore, during use, it is strongly recommended not to change the serial number unless necessary.