How to protect a USB flash drive?

Fleshkie entered our everyday life, it is far in the pastthose days when the flash drive was the lot of wealthy users, and the amount of flash drive in 512 MB seemed something extravagant. Today, no one will hang the flash drive around his neck on a chain to surprise others, as it was 5-7 years ago. Today flash drives are popular, and popular products have their own problems. The creators of viruses and other malware do not sleep. Let's figure out how to protect the USB flash drive.

Turn off autorun

  • The first way to disconnect is as follows: Press Win + R, type gpedit.msc, click "OK" and go to "Computer Configuration", then "Administrative Templates" and go to "System". Open it by double-clicking "Disable autostart", tick the "Enabled" and below in the "Disable autorun on" select "All drives". Click OK and close the Group Policy window.
  • The second way. Type in the Notepad text under this link. Then, on the File menu, click Save As. In the "File name" line, write in quotes any name with a .reg resolution, for example, "autorun.reg" and save. Run this file and agree to add it to the registry. All autoran is disabled.

Fighting viruses

Let's move on to how to protect a USB flash drive from viruses. One of the radical ways is to purchase a fingerprint with fingerprint recognition, which have a non-re-writable autorun.inf file. Let's consider another way.

Similar to the previous paragraph, open Notepad and copy into it:

attrib -s -h -r autorun.*

del autorun.*

mkdir% d0AUTORUN.INF

mkdir "?% d0AUTORUN.INF .."

attrib + s + h% d0AUTORUN.INF

Also go to the "Save as ..", But we assign the file a name with the extension .bat -" viruskaput.bat ". Copy this file to your flash drive and run, the autorun.inf file will not be created and the virus can not overwrite it with your own.

Password Password

Now let's talk about how to protect the USB flash drivepassword. For this we need a special free TrueCrypt program, which you can download from here. First, prepare a flash drive, clearing it of all files. Now start the installed TrueCrypt and go to the Tools menu, then in the "Traveler Disk Setup ...", in the "File Settings" field we specify the path to the flash drive via the "Browse ..." button, then click "Create" at the bottom of the window, after the program will copy the necessary files, close this window.

We copy our files to the USB flash drive and in the same menu"Tools" select the item "Volume Creation Wizard", in the first two windows we leave everything as is, and in the third we specify on the flash drive the path to your newly copied files. We go further and in the window "Volume Size" indicate the maximum size of your flash drive. Remember that the FAT 32 file system can store files up to four gigabytes in size. Next enter your password, in the next window select the file system of the flash drive and press "Format". Now when you open the flash drive you need to enter a password, for this program, TrueCrypt is not needed.

Write protection

If you have a flash drive for four gigabytes and you do notknow how to protect a USB flash drive from recording, then use the small USB Dummy Protect utility, which creates a file called dummy.file, which fills up all the free space of the flash drive. To free it, just delete this file. Be careful not to store important documents on your flash drive, in order to avoid their loss.

Related news

How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive How to protect a USB flash drive