Clear bot viruses with batch files in Windows XP

Source: Internet
Author: User

Nowadays, many malignant Viruses need to be scanned and killed using the exclusive killing tool, but some viruses will automatically prohibit the running of the exclusive killing tool. We often use other systems (such as Dos or PE) to scan and kill these stubborn viruses. In fact, the kill tool is a batch file that can delete virus files, which is not difficult to understand and compile. This article provides you with an in-depth understanding and preparation of the exclusive killer tool. When the system is started, you can directly go to the antivirus menu and specifically kill viruses.

1. For Windows XP users

For this type of system users, we can use virtual software such as Vfloppy to add DOS antivirus systems for Windows XP, and then use the automatic batch processing files (Autoexec. bat) under DOS to easily clear viruses. Here we will take automatic removal of the bot virus as an example.

Step 1: Go to the Internet to find the bot virus information, create a batch file based on virus characteristics, or directly download the batch file prepared by netizens. For example, a bot virus excludes a virus to a bot.

Step 2: Start notepad, enter the following code, save it as kill. bat, and place it in the root directory of drive D (the Rem statement is a comment without entering it ).

Rem removes the hidden, read-only, and system attributes of virus files.

Attrib-h-r-s C: WINDOWSIGM.exe

Rem deletes a specified Virus File

Del C: WINDOWSIGM.exe

Rem creates a directory with the same name as the virus file at the source location to prevent virus recurrence

Md C: WINDOWSIGM.exe

NOTE: For the sake of convenience, in batch processing, only delete one of the virus files C: WINDOWSIGM.exe is used as an example. To delete other virus files, add the commands in the preceding format.

Step 3: Download vfloppy, download and decompress vfloppy.exe, and select "bookdisk. img file. The text is displayed as "DOS automatic Antivirus". Take the default settings for others, and click "application". The program prompts that the image file is successfully booted. Do not restart and exit Vfloppy.

Step 4: Modify the batch file in Bootdisk. img to enable anti-virus. Download winimageat http://winimage.com/winima70g.exe. After running WinImage, click "File> open" to open C: ootootdisk. img, and then select "AUTOEXEC. BAT ", right-click it and select" Expand "to convert AUTOEXEC. release BAT to d :.

Step 5: use NotePad to open d: autoexec. bat, find "echo The diagnostic tools were successfully loaded to drive % RAMD %. "This line, and then in" echo. add the following line: call d: kill. bat

Tip: After DOS is fully started, kill. bat automatically deletes the virus by calling the prepared batch file.

Step 6: Run WinImage again to open C: ootootdisk. img, click "image> Add", and add the modified AUTOEXEC as prompted. BAT file. When the program prompts whether to overwrite, click "yes" and save the bootdisk. img and exit the program. Modify AUTOEXEC. BAT to automatically kill the virus in batch processing files after DOS is started. If you encounter other viruses next time, you only need to modify the code in d: kill. bat to implement the new killing function.

Related Article

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.