A few days ago, flash memory was quite infected with viruses. During the virus detection and removal process, there was always a virus file that could not be cleared. Every time a flash was inserted, anti-virus software would prompt a virus, in addition, repeated antivirus attempts end with a failure. The system enters the flash memory and closes the processes in the system. However, when the task is stopped, the virus file starts again.
After multiple detection and removal, it is found that as long as the flash memory is inserted into the computer, the virus will automatically execute the virus program, and there is no chance for anti-virus software to be killed completely.
I remember a similar situation when I used a CD file, so I opened my computer and hoped to find a setting similar to disabling the automatic operation of the optical drive. Right-click the flash icon in the window and select "properties". No disabled operations are found in the pop-up menu. So I thought of using the Shift key on the keyboard to control it, just as if I didn't allow the CD to run automatically. Then insert the flash memory, and then scan and kill the virus. The results are surprised to find that this method actually completely removes the stubborn virus.