First way to prevent virus from flashdisk : Disable the autorun
Nowadays, the spread of viruses is very fast, especially in Windows. They rapidly move from one pc to another within a sec. Most of the virus have an autorun script which is prompted when you plug the the flashdisk. Before the virus run itself, we can actually disabling the autorun. The simple method is just to press SHIFT on the keyboard for 8secs. But its just not a good way and definitely far from effective. There's another more effective way ; we can disabling it from the registry. For you who have never been play with it, you should be careful when editing it...
1. Open run by simply pressing windows button + r
2. type "regedit" (without quote)
3. look for :
HKEY_CURRENT_USER
Software
Microsoft
Windows
CurrentVersion
Policies
Explorer
"NoDriveTypeAutoRun"
4. right click on "NoDriveTypeAutoRun" and choose modify binary data
5. change it to : 95 00 00 00
6. hualah... done
7. refresh your computer and done...
here's a simple notes you should know :
actually every drive like cdrom, flashdisk and others has its own unique code :
DRIVE_UNKNOWN 1
DRIVE_NO_ROOT_DIR 2
DRIVE_REMOVABLE 4 (floppy disks and removable cartridges)
DRIVE_FIXED 8 (hard disks)
DRIVE_REMOTE 16 (network drives)
DRIVE_CDROM 32 (CD-ROMs)
DRIVE_RAMDISK 64
The first byte defines which drive types to EXCLUDE from autorun behavior. The hex value of the byte is the sum of all of the drive type values to exclude + 128.
the default configuration is : UNKNOWN (1) and REMOTE (16) which would be 16 + 1 + 128 = 145, which is hex 91.
then if you want to disable removable storage like flashdisk,
just add 4 ; so it would be : 16 + 1+ 4 +128 = 149 (hex = 95)
if you also want to disable CDrom from autorun just add 32... it's as simple as like that.
but remember to be careful.
just in case you make a mistake..
try to backing it up :
File-Import
0 comments: to “ First way to prevent virus from flashdisk : Disable the autorun ”
Post a Comment