How autorun. inf is immune

Source: Internet
Author: User
How autorun. inf is immune
We will not discuss how the autorun. inf virus is infected. Let's just talk about immune
The main points for immune to autorun. inf are:
1. prevent viruses from generating the autorun. inf file in the root directory of the drive.
2. prevent viruses from damaging our immunity measures
For the first point, we can create an autorun. inf folder in the root directory of the drive. The principle is that files in the same directory cannot be named the same as folders.
For the second point, we can create an undeletable directory in the autorun. inf folder we just created.
Take disk C as an example. The whole process is as follows:
Start, Run:
CMD ---- enter the command line
C: ---- enter drive C, type/"C:/" on some computers, no response, can be changed to/"C :///"
MD autorun. inf ---- create the autorun. inf folder
CD autorun. inf ---- open the autorun. inf folder
MD a .. // ---- create a folder that cannot be deleted
OK! In this way, you can create a folder named autorun. inf under the root directory, which contains a sub-folder named "a.". Try to delete it. Haha, You can't delete it.
Do it in your USB flash drive!
How to delete this folder:
Or enter C: // autorun. inf through the command line.
Input DIR/x
Check whether there is a messy string in front of the created Folder/"? You can think of this string as the real file name of "a.". Use this file name to change the name before deleting it.
Renamed syntax is
Rename old name new name

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.