Table of contents:

How to put a password on a USB flash drive: 5 working ways
How to put a password on a USB flash drive: 5 working ways
Anonim

Various data protection options for Windows, macOS and Linux, as well as cross-platform solutions.

How to put a password on a USB flash drive: 5 working ways
How to put a password on a USB flash drive: 5 working ways

1. BitLocker on Windows

  • Suitable for: Windows PC owners.
  • Advantages: ease of use.
  • Disadvantages: available only in the maximum and corporate versions of the OS.

How it works

The standard encryption feature has been around since Windows Vista. It allows you to encrypt the contents of any disk and provides access to it only after entering a password. However, there is one caveat: BitLocker is missing in the basic editions of Windows.

How to set a password

Search for BitLocker and open.

How to set a password on a USB flash drive: find BitLocker
How to set a password on a USB flash drive: find BitLocker

Click Turn on BitLocker next to the desired drive in the list.

How to set a password on a USB flash drive: click "Turn on BitLocker"
How to set a password on a USB flash drive: click "Turn on BitLocker"

Wait for the initialization process to complete.

How to set a password on a USB flash drive: wait
How to set a password on a USB flash drive: wait

Check the box "Use a password to unlock the disk", enter the code combination twice and click "Next".

How to set a password on a USB flash drive: check the box "Use password to unlock the disk"
How to set a password on a USB flash drive: check the box "Use password to unlock the disk"

Select one of the options for backing up the recovery key and click Next.

How to set a password on a USB flash drive: select one of the options for archiving the recovery key
How to set a password on a USB flash drive: select one of the options for archiving the recovery key

Specify the desired storage location for the key and click "Save".

How to set a password on a USB flash drive: specify the desired storage location for the key
How to set a password on a USB flash drive: specify the desired storage location for the key

Click Next again.

How to set a password on a USB flash drive: click "Next"
How to set a password on a USB flash drive: click "Next"

Select Encrypt Used Space Only if the drive is new, or Encrypt Entire Drive if it already contains files. Click Next.

How to set a password on a USB flash drive: set the parameters
How to set a password on a USB flash drive: set the parameters

Check "Compatibility Mode" and click "Next" again.

How to set a password on a USB flash drive: check "Compatibility Mode"
How to set a password on a USB flash drive: check "Compatibility Mode"

Click "Start Encryption".

How to set a password on a USB flash drive: click "Start encryption"
How to set a password on a USB flash drive: click "Start encryption"

Wait for the process to finish. If necessary, it can be paused using the "Pause" button.

How to set a password on a USB flash drive: wait for the process to finish
How to set a password on a USB flash drive: wait for the process to finish

Now, when connecting a flash drive, a notification will appear that the disk is encrypted. Click on it to unlock.

How to set a password on a USB flash drive: click on the disk to unlock
How to set a password on a USB flash drive: click on the disk to unlock

Enter the password in the window that opens and click "Unblock".

How to set a password on a USB flash drive: enter the password in the window that opens
How to set a password on a USB flash drive: enter the password in the window that opens

The flash drive will now appear in Explorer.

How to set a password on a USB flash drive: the flash drive will appear in the "Explorer"
How to set a password on a USB flash drive: the flash drive will appear in the "Explorer"

2. Password for the archive

  • Suitable for: for those who do not want to bother too much.
  • Advantages: works in any OS.
  • Disadvantages: compromise option.

How it works

Not quite a complete solution, which nevertheless has the right to life and is quite effective for a small number of files. Instead of encrypting the entire disk, you can use the ability to set a password for the archive, which is available in any archiver, for example WinRAR. In this case, the folder with the necessary files is archived, which are extracted only when the code combination is entered. At the end of the work, a password-protected archive is created again, and the original folder with files is deleted.

How to set a password

Select the folder to which you want to set the password and call the context menu.

How to put a password on a USB flash drive: open the context menu
How to put a password on a USB flash drive: open the context menu

Select "Add to Archive".

How to put a password on a USB flash drive: select "Add to archive"
How to put a password on a USB flash drive: select "Add to archive"

Specify the desired archiving parameters and click "Set Password".

How to put a password on a USB flash drive: click "Set password"
How to put a password on a USB flash drive: click "Set password"

Enter the password twice and click "OK".

How to put a password on a USB flash drive: enter the password twice and click "OK"
How to put a password on a USB flash drive: enter the password twice and click "OK"

Click "OK" again.

How to put a password on a USB flash drive: click "Ok" again
How to put a password on a USB flash drive: click "Ok" again

Wait for the backup to complete.

How to put a password on a USB flash drive: wait for the backup to complete
How to put a password on a USB flash drive: wait for the backup to complete

Now, when you try to extract files, you will need to enter the previously set password. You can view the contents of the archive without an access code.

How to put a password on a USB flash drive: when you try to extract files, you will need to enter a password
How to put a password on a USB flash drive: when you try to extract files, you will need to enter a password

3. "Disk Utility" in macOS

  • Suitable for: Mac users.
  • Advantages: Apple proprietary solution, ease of use.
  • Disadvantages: cannot be used for a flash drive with files, only for a formatted device.

How it works

Starting with High Sierra in macOS, it became possible to format disks into the APFS file system, which allows using encryption and, accordingly, opens access to the contents of the disk only after entering a password. This is a standard feature, so it is highly stable and simple.

How to set a password

Open Disk Utility through Spotlight or from the Applications folder → Utilities. Click on the "View" icon and select "Show all devices".

How to put a password on a USB flash drive: select "Show all devices"
How to put a password on a USB flash drive: select "Show all devices"

Highlight the disk in the list on the right, click "Erase" and in the "Partition scheme" select "GUID Partition Scheme".

How to put a password on a USB flash drive: select "GUID Partition Scheme"
How to put a password on a USB flash drive: select "GUID Partition Scheme"

Now in the drop-down menu "Format" select "APFS (encrypted)".

How to put a password on a USB flash drive: specify "APFS (encrypted)"
How to put a password on a USB flash drive: specify "APFS (encrypted)"

Set a password, add a hint and click Select.

How to put a password on a USB flash drive: set a password
How to put a password on a USB flash drive: set a password

Change the disk name if necessary and click "Erase".

How to put a password on a USB flash drive: click "Erase"
How to put a password on a USB flash drive: click "Erase"

Wait for all changes to be applied.

How to put a password on a USB flash drive: wait
How to put a password on a USB flash drive: wait

At the end of the process, click "Finish".

How to put a password on a USB flash drive: click "Finish"
How to put a password on a USB flash drive: click "Finish"

Now, whenever you connect a flash drive to your Mac, you will be prompted to enter the unlock code. Type your password and click "Remove protection".

How to put a password on a USB flash drive: enter the password and click "Remove protection"
How to put a password on a USB flash drive: enter the password and click "Remove protection"

The drive will then appear in Finder.

How to put a password on a USB flash drive: the disk will appear in Finder
How to put a password on a USB flash drive: the disk will appear in Finder

4. Utility "Disks" in Linux

  • Suitable for: Linux PC owners.
  • Advantages: ease of use.
  • Disadvantages: cannot be used for a flash drive with files, only for a formatted device.

How it works

Modern Linux distributions have an analogue of BitLocker and disk encryption in APFS. The function works in the same way: after configuration, the USB flash drive can be viewed only after entering the password. It is important not to forget it, because an encrypted disk cannot be formatted without it. Of course, after setting the password, the flash drive will only work with Linux, and is not recognized in other operating systems.

How to set a password

Open the standard "Disks" utility through the search.

Open the "Disks" utility
Open the "Disks" utility

Select your USB stick from the side menu and press the minus sign to delete the partition. Please note that all content will be destroyed! Save important files first, if necessary.

Select your USB stick from the side menu
Select your USB stick from the side menu

Click "Delete" to confirm.

Click "Delete" to confirm
Click "Delete" to confirm

Now create a new section by clicking the plus sign.

Create a new section
Create a new section

Specify the size of the section and click "Next".

Specify the volume of the section
Specify the volume of the section

Select the type "Internal disk for use only with Linux systems (Ext4)" and check the box next to "Password protected volume (LUKS)". Click Next.

Set parameters
Set parameters

Set a password and repeat it, and then click "Create".

Set a password
Set a password

Now, when connecting a flash drive, the system will prompt you to enter a code combination to unlock the disk.

When connecting a flash drive, the system will prompt you to enter a password
When connecting a flash drive, the system will prompt you to enter a password

5. VeraCrypt application

  • Suitable for: for those who need maximum compatibility.
  • Advantages: work in any OS.
  • Disadvantages: relative complexity.

How it works

VeraCrypt, one of the most popular free disk encryption applications, allows you to provide many different lock settings. It can create separate secure containers and fully encrypt selected disks. To unlock and connect such a disk to the file system, you will need to enter a password. At the same time, due to the availability of versions for different platforms, the flash drive can be blocked on one computer, and read on any other with VeraCrypt installed.

How to set a password

Download the software application and install. Open VeraCrypt and click Create Volume.

Open VeraCrypt and click Create Volume
Open VeraCrypt and click Create Volume

Select the Create a volume within a partition / drive option and click Next.

Select the Create a volume within a partition / drive option
Select the Create a volume within a partition / drive option

Next, check Standard VeraCrypt volume and click Next.

How to put a password on a USB flash drive: select Standard VeraCrypt volume
How to put a password on a USB flash drive: select Standard VeraCrypt volume

Enter the password for the account (user or administrator) to continue and click OK.

How to put a password on a USB flash drive: enter your account password
How to put a password on a USB flash drive: enter your account password

Find your flash drive in the list by size and name, and then click OK.

Find your USB stick in the list
Find your USB stick in the list

Click Next again.

How to put a password on a USB flash drive: click Next again
How to put a password on a USB flash drive: click Next again

Confirm the selected settings by clicking on the Yes button.

How to put a password on a USB flash drive: confirm the selected settings
How to put a password on a USB flash drive: confirm the selected settings

Click Yes again to confirm formatting the disk. Keep in mind that all files on it will be deleted!

How to put a password on a USB flash drive: click Yes again
How to put a password on a USB flash drive: click Yes again

Select an encryption algorithm. You can leave the default AES. Then click Next.

Choose an encryption algorithm
Choose an encryption algorithm

Enter the password to unlock the flash drive and click Next.

How to put a password on a USB flash drive: enter the password
How to put a password on a USB flash drive: enter the password

Choose the first option if you are not going to store files larger than 4 GB on the flash drive, or the second if you are planning to. Click Next again.

Set parameters
Set parameters

Check the box next to Quick format for quick formatting and click Next.

How to put a password on a USB flash drive: check the box next to Quick format
How to put a password on a USB flash drive: check the box next to Quick format

Move the mouse inside the program window until the progress bar is full and click Format.

How to put a password on a USB flash drive: click Format
How to put a password on a USB flash drive: click Format

Click Yes to confirm the deletion of the disc contents.

Click Yes
Click Yes

When finished, click OK.

Click OK
Click OK

Now click Exit to exit the disk creation interface. All is ready.

Click Exit
Click Exit

To unlock the flash drive, open VeraCrypt and click Select Device.

How to put a password on a USB flash drive: open VeraCrypt and click Select Device
How to put a password on a USB flash drive: open VeraCrypt and click Select Device

Find the drive in the list and click OK.

Find the drive in the list and click OK
Find the drive in the list and click OK

In the main application window, click the Mount button.

How to put a password on a USB flash drive: click the Mount button
How to put a password on a USB flash drive: click the Mount button

Enter the password to unlock the flash drive and click OK. It will now connect to the system and appear in the file manager.

enter password
enter password

When you are finished working with the flash drive, launch VeraCrypt, select the disk and click Dismount to disconnect.

Recommended: