Home  >  Article  >  Computer Tutorials  >  Why does USB disk poisoning always cause problems?

Why does USB disk poisoning always cause problems?

王林
王林forward
2024-02-12 10:06:20482browse

php editor Xigua will reveal the cause of U disk poisoning problem for you. With the widespread use of U disks, more and more people are encountering the problem of U disk poisoning. Why are U disks always susceptible to virus infection? In fact, there are many reasons for U disk poisoning, including using unsafe computers, downloading untrustworthy files, clicking on suspicious links, sharing U disks, etc. After understanding these reasons, we can take some preventive measures to avoid U disk poisoning and protect our data security. Next, we will answer your questions one by one.

Why does USB disk poisoning always cause problems?

At this time, many friends may have questions. How can there be a virus if they just copied a file on someone else's computer? In fact, many of the viruses spread by using USB flash drives in the local area network are related to a file called "autorun.ini".

Why does USB disk poisoning always cause problems?

What is Autorun.inf?

autorun.inf is one of the common files that is used to automatically run the specified file when the disk is double-clicked. However, in recent years, some people have used the autorun.inf file to spread Trojans or viruses. It takes advantage of the user's misoperation to execute malicious programs, thereby invading the computer and causing serious impact. This behavior poses a significant threat to computer security.

When the file is on the USB flash drive and inserted into the computer, the system will automatically read the contents and execute the specified program in the background. This is the principle of the USB flash drive automatically spreading viruses.

How to prevent the virus in the USB flash drive from spreading to the computer?

When we insert the USB flash drive, we can hold down the [shift] key on the keyboard until the computer recognizes the USB flash drive. Doing this will prevent the USB drive from running automatically, thus preventing the spread of viruses.

How to prevent the Autorun.inf file?

Since the virus spreads through the autorun.inf file, then we will start first and fight the virus with virus.

1. Open the root directory of the USB disk, create a new folder in it, and then rename it to autorun.inf.

2. Press and hold the [win] R shortcut key at the same time to open the run window, enter cmd and press Enter to open the run command window.

3. Enter the following command and press Enter

md G:\autorun.inf\U disk immunity...\

Be sure to enter the last 3 dots and backslash. In addition, the G above represents the drive letter of your USB flash drive. If your U disk is D disk, enter [d:\autorun.inf\U disk immunity...\], if it is H disk, enter [h:\autorun.inf\U disk immunity...\] And so on.

Finally you will find that there is an additional folder named [U disk immunity...] in the autorun.inf of the U disk. But this folder cannot be deleted.

Why does USB disk poisoning always cause problems?

At this time, if the virus wants to create an autorun.inf file, it will not be able to create it dead or alive, which makes the USB disk have an immune effect.


The above is the detailed content of Why does USB disk poisoning always cause problems?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:pc-daily.com. If there is any infringement, please contact admin@php.cn delete