Home » Computer Guides » PC Security Guides » How To Use VeraCrypt To Encrypt A Folder

How To Use VeraCrypt To Encrypt A Folder

Use VeraCrypt to encrypt and password protect files and folders. Windows doesn’t have a convenient way of encrypting a single folder on your computer. You could use BitLocker if you have a Pro version of Windows, or maybe Device Encryption on some Home versions. But they’re both for whole disk encryption.

To encrypt a folder (and all the files within it) you’ll need to use third party software. VeraCrypt is free and open source and will encrypt and password protect any files or folders on your PC.

What it does is to create an encrypted virtual drive on your system. Any files or folders that you store inside this virtual drive will automatically be encrypted. Only accessible by entering the correct password that you’ve set.

Download And Install VeraCrypt

Download and install VeraCrypt. You can grab it from here https://veracrypt.io/en/Downloads.html

  1. Download the latest EXE Installer
  2. Launch the installer from your browser or wherever you saved the download to
  3. When you installation is finished, launch VeraCrypt
Download link indicated.
Download VeraCrypt.
Run VeraCrypt installer
Run the installer.
VeraCrypt icon on desktop.
VeraCrypt desktop icon.

How To Encrypt A Folder With VeraCrypt

When VeraCrypt opens, click the Create Volume button. That’ll open the Volume Creation Wizard.

VeraCrypt can encrypt your hard drives and even your system drive, in much the same way that BitLocker does, but for this guide we’re only going to be encrypting a folder.

Select (if it isn’t already) “Create an encrypted file container”. Click the Next button.

How to create an encrypted folder with VeraCrypt. Create Volume button is indicated.
Click Create Volume.
"Create an encrypted file container" option is selected in VeraCrypt.
Create an encrypted file container, in other words, a folder.

Folders, Volumes And Containers

In VeraCrypt a folder is referred to as a container or volume. There are a few technical differences but to you and me they’re one and the same thing.

Encrypted Volume Type.

Your encrypted folder can either be a standard volume or a hidden volume.

  1. Standard VeraCrypt Volume – This is the regular choice that you’d normally use to protect your files and folders and is the one we’ll use for this guide.
  2. Hidden VeraCrypt Volume – With this option, VeraCrypt will create a hidden volume inside the regular volume.

Select “Standard VeraCrypt Volume” and click the Next button.

Standard VeraCrypt Volume is selected.
Select Standard Volume.

Encrypted Folder Location

Now you have to decide where to store your encrypted folder. You can save it to any of your folders in the same way as you’d save any other file/folder.

Click the Select File button. On the following screen, give the file a name and then save it to any location on your computer.

The encrypted folder will appear as a simple text document. That’s what it looks like. When you name the file, try to give it an innocuous sound name, something that’s not going to arouse any interest or suspicion amongst other users of your computer.

How to create an encrypted folder on a PC.
Click the Select File button.
Name and location of encrypted folder.
Give the file a name and save it to any location on your PC.

You’ll see the file path appear in the location box.

Click the Next button to proceed.

How to encrypt a folder using VeraCrypt. The file path appears in the location box. Next button indicated.
Click the Next button.

VeraCrypt Encryption Options

On this screen you can choose the type of encryption that VeraCrypt will use to protect your data.

If you have a specific need, VeraCrypt supports a wide range of encryption methods. Simply open the drop down menu and select the method that suits you best.

Personally, I’d just leave it at its default settings which is AES and a Hash Algorithm of SHA 512

Click the Next button.

VeraCrypt encryption options page. AES is selected.
Select which encryption method you want to use and then click the Next button.

Set The Encrypted Volume Size.

Now we come to one of the differences between a folder and a volume. A standard Windows folder doesn’t need to be given a specific size. It’ll just expand as you add more files to it.

The encrypted folder that you’re going to create in VeraCrypt is different. It isn’t a folder as such, it’s a virtual hard drive, and like any other hard drive it needs to have a specific size.

Exactly what capacity you assign to the encrypted volume will depend on how much data you envisage storing in it and obviously how much spare capacity you’ve got available to you.

You can specify a size in Kilobytes, Megabytes, Gigabytes or Terabytes. What Are Kilobytes, Megabytes, Gigabytes And Terabytes?

For this example I’ll go with a 1 Gigabyte drive. Click Next when ready.

Specify a capacity for the VeraCrypt encrypted volume.
Set the size (capacity) of your encrypted folder.

Password Protecting An Encrypted Folder

Now you need to add the password that you’ll use to unlock the folder (drive).

The longer and more complex the password that you use, the stronger it’ll be.

Warning, don’t forget the password. Once your files and folders are encrypted in VeraCrypt they can’t be accessed without the correct password.

There’s no backdoor option. VeraCrypt is designed to be unbreakable.

Creating the password that will protect the encrypted folder.
Type in your password and confirm it.

Format The Volume

Now you’ll need to select a file system for your virtual drive to use. VeraCrypt supports FAT, exFAT, NTFS and ReFS. The default is FAT which is usually going to be fine but you could use NTFS since this is the standard format for Windows drives.

With the file system set you then need to move your mouse pointer randomly across the screen. VeraCrypt will collect data about the movements and use this to create a unique encryption for your folder.

  1. Select the volume file system and then shake your mouse pointer across the screen. You can see your progress and the bottom of the window.
  2. Keep moving the mouse until the progress bar turns green Click the Format button.
  3. Click OK and then Exit.
Setting the file system and moving mouse randomly about the screen.
Select a file system and then rattle your mouse around to create a random seed for encryption.
Progress bar has turned green.
When the progress bar turns green, you’re done.
Encrypted volume created in VeraCrypt. Exit button is marked.
Click the Exit button.
  • NTFS: A good choice for Windows-only use, offering high performance and support for large files. However, a potential security risk is that it can leave fragments of the container in the free space of the host drive.
  • FAT32: Offers wide compatibility across many operating systems and devices. Its main limitation is the 4GB maximum file size and smaller maximum volume size.
  • exFAT: A good option for compatibility across different operating systems, especially for flash drives. It does not have the file size limitations of FAT32.

Your Encrypted Folder

Your encrypted folder will appear on your computer as a simple file. It’ll have the filename that you set and be in the location that you saved it to.

The only clue that the file may not be just a simple text file lies in the Properties box. Right click the file and then select Properties. You’ll see that the size of the file is the size that you set when creating the encrypted drive earlier.

Encrypted folder appears as an innocent file.
What looks like a simple file is in fact your encrypted folder (drive).
Properties dialogue box for the Encrypted drive/folder.
You can check out the size of your file.

How To Unlock Your Encrypted Folder

Remember that your encrypted folder is actually a virtual drive (or virtual disk). As such, in order to use it you’ll need to mount it first.

To mount and unlock the drive –

  1. Open VeraCrypt and then click Select File
  2. Navigate to your file and select it then click the Open button.
  3. You’ll see the path to your file appear in the box. Select a drive letter from the list above and then click the Mount button.
  4. You’ll be asked for the password that you set earlier. Enter the password and click the OK button.
How to unlock (decrypt) a VeraCrypt drive. The Select File button is indicated.
Open VeraCrypt and then click Select File button.
Mounting the drive in VeraCrypt.
Select your file and click Open.
Mounting the drive in VeraCrypt. The Mount button is highlighted.
Mount the encrypted drive.
Password box is indicated.
Enter the password to unlock it.

The Folder/Drive Is Unlocked – Decrypted

After entering the correct password, VeraCrypt will decrypt your drive/folder ready for use. Note that the drive will be assigned the drive letter that you selected. You can either leave VeraCrypt open or close it.

Open File Explorer and under This PC you’ll find your decrypted virtual drive. You can use it exactly like you would any other drive on your PC.

You can add files using copy and paste, drag and drop, save directly into the drive, view, edit or delete files.

Open File Explorer and under This PC you’ll find your decrypted virtual drive. You can use it exactly like you would any other drive on your PC.

You can add files using copy and paste, drag and drop, save directly into the drive, view, edit or delete files.

Decrypted drive appears in File Explorer.
The encrypted folder will appear as a drive in File Explorer.

To Lock The Drive – Encrypt It

When you’ve finished using the files and folders within the drive you’ll need to lock it, or encrypt it.

Simply open VeraCrypt and click the Unmount button. The drive will be re-encrypted and it’ll disappear from File Explorer.

Dismounting a VeraCrypt drive.
When you’ve finished, unmount the drive to lock it.
Unmounted VeraCrypt drive doesn't appear in File Explorer
And it’ll disappear from File Explorer.

Summary

It’s a shame that Windows doesn’t support an easy way to encrypt and password protect individual files and folders, but with VeraCrypt, it can be done.

On our computers, we store more and more sensitive personal data. It just makes sense to restrict who has access to that information.

If your folders are encrypted, then your data is protected even if your machine is lost or stolen.

Related Posts

BitLocker To Go
You use BitLocker To Go to encrypt USB flash drives and external hard drives.

How To Use 7-Zip To Password Protect Files.
Add password protection and encryption to archived files. Perfect for sensitive data that needs to be sent to someone else.

At Home Computer Guides that have proved to be very popular with people just like you.

5 Easy Steps To Setting Up A Home Network

Share files across your home network.

Fix Windows 11 24H2 network sharing not working.
How To Set Google As The Default Search Engine
How to change the default download location in Chrome, Edge and Firefox
How to create a Windows 11 backup for free
Scroll to Top