How to remove the Autorun.inf virus inside a USB flash drive

Source: Internet
Author: User


we will often see under the various partition root directories of the hard disk " Autorun.inf"Such a file, and double-click the disk partition icon with the mouse, often can not open the corresponding partition window ; similar to the above, it is almost certain that the local computer system has been infected with the recent rampant Flash disk virus, the virus generally through the " Autorun.inf"file for propagation.

when the computer system is accidentally infected with " Autorun.inf"File virus, the virus will automatically create a" Autorun.inf "file under all the partition roots of the local hard disk, which has hidden properties by default and cannot be deleted directly by the normal method. To delete the "autorun.inf" Virus file, we can do it as follows:

To remove the autorun virus operation step:

1, plug the U disk into the USB port of the computer , and then create a new text document,

2. Copy and paste the following code into the text document and save:

@echo on

taskkill/imexplorer.exe/f

Taskkill/im W.exe

Start Reg addhkcu\software\microsoft\windows\currentversion\explorer\advanced/vshowsuperhidden/t reg_dword/d/F

Start Reg Importkill.reg

Del c:\autorun.*/f/q/as

del%systemroot%\system32\autorun.*/f/q/as

Del d:\autorun.*/f/q/as

Del e:\autorun.*/f/q/as

Del f:\autorun.*/f/q/as

Del g:\autorun.*/f/q/as

Del h:\autorun.*/f/q/as

Del i:\autorun.*/f/q/as

Del J:\autorun.*/f/q/as

Del k:\autorun.*/f/q/as

Del l:\autorun.*/f/q/as

Start Explorer.exe

3. Rename the text document to include the suffix "u.bat"

4.then open My Computer, select "Tools - Folder Options -View" in the menu bar , remove the "Hide extensions of known file types" in front of the check box- click "OK"- Exits the window.

When you're done, double-click u.bat "file ( note: If a security tool is preventing it from running, please release it ) autorun virus. In order to prevent Autorun virus wanton destruction , We need to remove this virus as soon as possible, To protect the u "the data in the disk and important files within the computer system.

; Hkey_classes_root "registry branch, then select" drive\shell "below the branch. "item, in the corresponding" shell "item on the right list area ( ) None

then use the mouse to expand the HKEY_CURRENT_USER"registry branch, and then select the"software\microsoft\windows\currentversion\explorer "item under that branch,in the corresponding" ExplorerProject to the right of the list area, check if there is a value named "ountPoints2" key, once the key value is found, we must promptly delete it, and then click on the keyboard F5 function keys , to refresh the system registry settings, so that the flash disk virus is we manually as garbage cleanup , when we try to open the partition window with a double-click Method, you will see the corresponding partition window can be opened normally.


How to remove the Autorun.inf virus inside a USB flash drive

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.