Sponsored Links


Nowadays the major cause of my system getting infected with virus is from the USB drives.When the USB drives are plugged into a computer previously infected with a virus then these viruses are automatically copied to the drives along with autorun.inf file.The virus  infects all executable files in my flash drive, then creates a hidden autorun.inf file at the roof of the pendrive.

Usb sandisk VirusThe autorun.inf file is useful only when an installer can automatically start the installation of the setup program when a disc is inserted.Turning off the autoplay also doesn't prevent the autorun file from executing.

Raymond has found out a registry hack which will allow you to to globally block autorun.inf from automatically executing.Open notepad and copy the code below and save it as AutorunHack.reg file instead of .txt file.

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"

                    Autorun Prompt Windows

Open this AutorunHack.reg file  and click Yes if you’re asked “Are you sure you want to add the information in AutoRunHack.reg to the registry?”.Next time you insert a USB drive into your system then Windows will not execute the information in any autorun.inf file that may be present.

Related: Recover deleted files from corrupt USB Drives


If you like this post then please Tweet this or Subscribe to the latest updates on this post through Email by CLICKING HERE.

StumpleUpon DiggIt! Del.icio.us Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Search below for more related articles

Loading

3 comments

  1. Anonymous // 10/28/2008 12:01 PM

    damn good work dude

  2. Anonymous // 2/20/2009 1:12 AM

    yeah
    good one

  3. Bob // 3/15/2010 3:25 PM

    Hi. When I click 'Yes" to access the registry it says I can't access the registry.

Post a Comment

Please use the form below to add your own comment.Thank you.

Comment policy.


1. Comment moderation has been enabled, so if you are a spammer please leave :)
2. Don't post same comments multiple times, it will appear only after my approval.
3. I really love and appreciate comments, so feel free to express your ideas and thoughts.