Use the brute force method to delete the dllhost.exe

Source: Internet
Author: User

Today, I visited WZ. what's interesting is the two long-overdue DOS batch processing commands.

Today, a remote connection helps a friend who does not know much about the computer to clear the virus. A bunch of runauto .. directories are displayed, and c: \ windows \ dllhost.exe is in the process.

Many methods for manual cleanup are required to install iceswords or to secure mode. However, remote control is inconvenient (the network is also slow ). Failed.

Later, I found a method of violent violence. It was very simple to open two command line windows and execute them respectively:
In the first cmd window, run: For/L % A in (, 2) Do taskkill/f/IM dllhost.exe

In the second cmd window, run: For/L % A in (, 2) Do attrib-H-S-r c: \ Windows \ dllhost.exe & del c: \ windows \ dllhost.exe

At the beginning, you will see an error that the file cannot be deleted. After a few seconds, you can find that the task has been successfully deleted, as the taskkill report cannot find the process, and the attrib and del reports cannot find the file. Use Ctrl + C to stop the two endless loops.

The principle is very simple. Both of them are endless loops (from 1 to 2, but the step size is 0). One is kill and the other is deleted. There will always be a time point where del can be killed before the process is rebuilt.

At present, all three of my friends are successfully cleared. Of course, you should remember to delete setuprs1.if, and hijack and delete the ifeo of cmd.exe and regedit.exe in the registration table.

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.