Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

3 Ways to Encrypt Files, USB Drives, and Email on Windows

Choose 7-Zip for an encrypted archive, BitLocker To Go for a USB drive, or OpenPGP for messages. Verify that you can recover the data first.

Table of Contents

Use 7-Zip to protect a set of files you want to send, BitLocker To Go to protect a USB drive you carry, and OpenPGP to encrypt a file for someone whose public key you can verify. Test with a non-sensitive example first so you know how to open the result and recover it if needed.

1. Encrypt selected files with 7-Zip

  1. In File Explorer, right-click a file or folder and choose 7-Zip > Add to archive. On Windows 11, the command may be under Show more options.

    Coding is not as difficult as you think Picture 1

  2. Choose 7z as the archive format and AES-256 as the encryption method. Enter a strong, unique passphrase and turn on Encrypt file names if the names should also be private.

    Coding is not as difficult as you think Picture 2

  3. Create the archive and test it by extracting a file to a safe test location. The original files remain as they were. Ask the recipient to confirm they can open a 7z archive. Share the passphrase separately by a trusted channel.

See the 7-Zip archive walkthrough for more detail.

2. Encrypt a USB drive with BitLocker To Go

Back up the USB drive and check that the computers where you’ll use it support your chosen encryption mode. Creating a BitLocker-protected drive requires an eligible Windows edition.

  1. In File Explorer, right-click the USB drive and select Turn on BitLocker if available. Verify the drive letter and label before continuing.

    Coding is not as difficult as you think Picture 3

  2. Choose a strong password and store the recovery key somewhere separate from the USB drive. Someone with the recovery key may be able to unlock the drive.

    Coding is not as difficult as you think Picture 4

  3. Choose the whole drive if it has previously held files, including deleted data. Used-space-only encryption can be appropriate for a new, unused drive. Let the process finish, eject the drive, reconnect it, and verify that you can unlock it.

    Coding is not as difficult as you think Picture 5

See Microsoft’s BitLocker overview for edition requirements.

3. Encrypt an email attachment with OpenPGP

Kleopatra, included with Gpg4win, can encrypt a file to the recipient’s public key. Start with the Kleopatra key setup guide if you also want to receive encrypted files. Back up your own private key securely and keep it private.

Coding is not as difficult as you think Picture 6

Import the recipient’s public key and confirm its fingerprint with them through a trusted channel. In Kleopatra, choose Sign/Encrypt Files, select the file, and select the recipient’s verified key for encryption. Include your own public key as an additional recipient if you need to decrypt the resulting file later. The screenshot shows a password-based option, which uses a shared secret instead of a recipient key.

Coding is not as difficult as you think Picture 7

Attach only the encrypted file and ask the recipient to confirm they can open it. Email headers and whatever you type in the subject or message body are outside the encrypted attachment. Keep sensitive details out of those fields, and avoid leaving copies of the plaintext in shared or synced folders.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.