What file is Autorun.inf? Autorun.inf file How to delete?

Source: Internet
Author: User

What file is Autorun.inf?

The Autorun.inf file starts with Windows 95 and is initially used on its installation disk for automatic installation, which is retained for later versions and is also available for some other storage devices

Autorun.inf is one of the more common files used in our computer, and its role is to allow a specified file to run automatically when the disk is double-clicked. But in recent years, the use of Autorun.inf files to spread trojans or viruses, it through the user's misoperation to allow the target program to execute, to invade the computer's purpose, has brought a great negative impact.

Autorun.inf file Deletion method

Create a batch file with the following code:

Cacls\\?\%1/g everyone:f
rd/s/q\\?\%1
File name: Remove Immunity. bat, put it on the desktop, spare.

Drag Autorun.inf to the desktop on the bat icon on the line, how, without this folder it!

The batch code above is converted to a DOS command (delete the Autorun.inf file on the G disk, the red path will change as the letter is different, no other changes):
cacls g:\autorun.inf/g Everyone:f

rd/s/q G:\autorun.inf

Supplementary Note:

U disk to the spread of the virus to use the help of Autorun.inf file, the virus first copy itself to the U disk, and then create a autorun.inf, you double-click the U disk, will be based on the Autorun.inf set to run the U disk in the virus, As long as we can prevent the creation of Autorun.inf files, then the U disk even if there is a virus can only lie asleep, you may also think of this, But whatever attribute is set to the Autorun.inf, the virus changes it, and the way I mentioned it is that, in the root directory, delete the Autorun.inf file, and then create a folder under the root, the name is Autorun.inf, so, because in the same directory, the virus is powerless to create the AU Torun.inf file, later will be a new virus, automatically delete folders, and then create a document will not know, but at least at this stage, this method is very effective. However, because this folder can be renamed, so many new trojans and viruses to use renamed after the creation of Autorun.inf files to achieve the purpose of infecting U disk. However, for security-conscious users, this method to determine whether the U disk is infected or not.
[edit this paragraph] present situation analysis
It turns out that new viruses have been able to consciously detect the presence of autorun.inf, for those that can be deleted directly, the words "cannot be deleted" are destroyed by renaming; There is also an early occurrence of a virus that uses a filename to trick a user into clicking, such as an important file. exe, novel. )。 For these two types of transmission virus, only the establishment of Autorun.inf folder can not withstand

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: info-contact@alibabacloud.com 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.