Batch processing to prevent anti-virus software from being disabled by virus

Source: Internet
Author: User
Tags root directory

Now the virus is really very powerful, so that anti-virus software can not start the normal has been very flattering. Recently I ghost.pif is this kind of virus, it in the antivirus software installation directory to forge a malicious ws2_32.dll file, resulting in anti-virus software at startup can not load the correct ws2_32.dll file, the "0XC00000BA" error.

I created a new batch with file name A, which prevents virus from disabling antivirus software, as follows (in bold):

Turn off echo @echo off

cd\ Conversion to root directory

CD/D%systemdrive% conversion to System packing directory

CD program Files\ rising\ Rav into antivirus installation directory

Rd ws2_32.dll/s/q Delete ws2_32.dll files

Copy%windir%\system32\ws2_32.dll will system32 below Ws2_32.dll Copy to antivirus software installation directory

attrib +s +h +r ws2_32.dll set Ws2_32.dll to read-only files, system files, hidden file properties.

Put the batch on the desktop, if you encounter a fake Ws2_32.dll file to disable anti-virus software such viruses, double-click it can normally use antivirus software.

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.