Saturday, February 28, 2009

SOLID PROTECTION FOR PEN DRIVES OR ANY REMOVABLE MEDIA

I carry my USB flash drive that contains a lot of portable tools with me all the time but I am afraid of one thing, which is a computer virus such as JambanMu or MaxTrox that is able to infect USB flash drives and bind itself to the executable files in there. So far there are only ways to disable writing to USB flash drive on your computer by editing the registry but if you plug it into a public computer which has virus, your USB flash drive will be writable and can be infected by virus. So is having a pendrive with a built-in write protect switch the only way to prevent the drive from virus infection?

SOLUTION IS---- to create DUMMY file in pen drive of exactly free space.

First, you have to know how much free space is left on the USB drive. Plug in the drive, go to My Computer, right click on the drive letter and select Properties. Take note of the “Free space” that is in bytes. My USB drive has 1,300,594,688 free space, so I will need to create a dummy file that has the exact file size.
Removable Drive Free Space

Second, go to command prompt (in accessories) and type the following command

fsutil file createnew F:\IamDummy 1300594688


fsutil file createnew

HERE
fsutil file createnew IS COMMAND (MUST BE STATIC)
F:\ IS MY PEN DRIVE
IamDummy IS MY DUMMY FILE NAME
1300594688 IS MY EXACT FREE SPACE LEFT ON PEN DRIVE

There are many softwares in market who can protect Pen Drive. But this is inbuilt tool in windows which will give you 100% assurance about your Pen Drive's Security.

<<<<<<<BY WAR PRAYER>>>>>>>>