Read this article to find out how to recover files deleted from a TrueCrypt or VeraCrypt container, how to mount and unlock an encrypted disk to access the files.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/1bf/c98/5c0/1bfc985c0be1c05166a319c73027d644.jpg)
If you are looking for an easy and effective way to encrypt all computer data, from the system or logical disk and to a backup disk, external USB drive or a memory card, use VeraCrypt. This is an open-source tool meeting the highest data encryption standards.
The best way to protect your files from being viewed by other people is to encrypt them. The encryption tool uses a secret key to turn the file contents into a mishmash of symbols. There is no way to read the contents until an unlocking key is used.
The VeraCrypt tool is based on the very popular open-source utility, TrueCrypt. After the TrueCrypt project was closed, a company named IDRIX added new features to the product and fixed security issues.
With VeraCrypt, you can create an encrypted container which can be then mounted in your system as an ordinary disk. All files from this container are encrypted and encrypted on-the-fly. That is why you can view and edit them just as if they were located on your USB drive. When you finish working with them, the tool blocks access to this container, and cleans the keys and file contents from the system memory.
VeraCrypt can also encrypt your system drive, but we recommend using the Windows-integrated tool, BitLocker. A peculiarity of VeraCrypt is the ability to create a hidden encrypted partition. If you are held by law breakers, and demanded to give the key, you can let them have a fake unlocking key that will open the fake volume you have created beforehand. Meanwhile, using the main key will unlock a different volume containing real data.
Download and install the program, then open the Start menu and run VeraCrypt. You will see the main window:
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/f3c/724/373/f3c7243735c6095ff48babde018c32da.jpg)
The first step to take is to click Create Volume. This starts the Volume Creation Wizard that offers you a choice of the following options:
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/bfa/bc3/bb6/bfabc3bb6512112e63a277dd782b9720.jpg)
Creating an encrypted file container lets you generate such file on any disk currently connected to your computer. After that, such file can be mounted as a logical disk. Inside the file, a standard or hidden VeraCrypt volume can be created (we have just explained the difference above).
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/92a/f0a/b5d/92af0ab5dcca237135b23ab74d7ec71a.jpg)
We will create a standard volume. The next step is choosing the volume location.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/d2a/185/36a/d2a18536af9d885fda7d5161c00187e5.jpg)
After that, decide on Encryption Algorithm and Hash Algorithm. By default, these are AES, and SHA-512, accordingly. Leave the settings as they are.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/16c/ec4/3d8/16cec43d81b09e2deed7473a37958411.jpg)
Now set the maximum volume size. Let’s set it to 5 GB.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/c51/3e5/a23/c513e5a230cf890229c68e2e2ec5c01d.jpg)
Click Next and go on to create a password. When the password is given, save it to a safe location or use a password which you remember well. There is no way to restore a forgotten or lost password, and you can’t decrypt the date without the password.
You can use any files that can be applied as an alternative to password, by checking the Use key files option.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/d5e/b2c/6a6/d5eb2c6a605140541fe4b1dab1f9eb98.jpg)
Click Next and confirm using large files.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/2c7/3f4/f54/2c73f4f540cf005a83a0881e99022be3.jpg)
Click Next and move on to volume format options and encryption key settings. Click and wait until the encrypted volume is created.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/290/d8d/86f/290d8d86fd10bfe1e69996a5d8770a17.jpg)
Click «Select File» in the program’s main window and choose the file where you saved the VeraCrypt container. After the file is chosen, select one of the available disks above. For example, let us select disk XXX and click on Mount.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/3e9/9d7/6fa/3e99d76fa09ade1b52d836b0b38cf589.jpg)
Now you need to enter the password.
![image](https://habrastorage.org/r/w780q1/getpro/habr/post_images/230/78e/e14/23078ee145f226da0c826dfdd71e0b67.jpg)
Now go to This PC and check if a new disk appeared there.
Files deleted by mistake or lost after formatting the encrypted disk can be recovered with the help of Hetman Partition Recovery. Before scanning, you should mount the disk in the program. As VeraCrypt uses on-the-fly encryption principle, the recovery process will be no different from working with any other disk.
Without the unlocking password, all data remains encrypted and can’t be restored.
See the full article with all additional video tutorials. If you still have any questions, please ask in a comments. Also visit our Youtube channel, there are over 400 video tutorials.
![image](https://habrastorage.org/getpro/habr/post_images/1bf/c98/5c0/1bfc985c0be1c05166a319c73027d644.jpg)
If you are looking for an easy and effective way to encrypt all computer data, from the system or logical disk and to a backup disk, external USB drive or a memory card, use VeraCrypt. This is an open-source tool meeting the highest data encryption standards.
What is TrueCrypt and VeraCrypt, and why would we use them?
The best way to protect your files from being viewed by other people is to encrypt them. The encryption tool uses a secret key to turn the file contents into a mishmash of symbols. There is no way to read the contents until an unlocking key is used.
The VeraCrypt tool is based on the very popular open-source utility, TrueCrypt. After the TrueCrypt project was closed, a company named IDRIX added new features to the product and fixed security issues.
With VeraCrypt, you can create an encrypted container which can be then mounted in your system as an ordinary disk. All files from this container are encrypted and encrypted on-the-fly. That is why you can view and edit them just as if they were located on your USB drive. When you finish working with them, the tool blocks access to this container, and cleans the keys and file contents from the system memory.
VeraCrypt can also encrypt your system drive, but we recommend using the Windows-integrated tool, BitLocker. A peculiarity of VeraCrypt is the ability to create a hidden encrypted partition. If you are held by law breakers, and demanded to give the key, you can let them have a fake unlocking key that will open the fake volume you have created beforehand. Meanwhile, using the main key will unlock a different volume containing real data.
How to create an encrypted partition?
Download and install the program, then open the Start menu and run VeraCrypt. You will see the main window:
![image](https://habrastorage.org/getpro/habr/post_images/f3c/724/373/f3c7243735c6095ff48babde018c32da.jpg)
The first step to take is to click Create Volume. This starts the Volume Creation Wizard that offers you a choice of the following options:
![image](https://habrastorage.org/getpro/habr/post_images/bfa/bc3/bb6/bfabc3bb6512112e63a277dd782b9720.jpg)
Creating an encrypted file container lets you generate such file on any disk currently connected to your computer. After that, such file can be mounted as a logical disk. Inside the file, a standard or hidden VeraCrypt volume can be created (we have just explained the difference above).
![image](https://habrastorage.org/getpro/habr/post_images/92a/f0a/b5d/92af0ab5dcca237135b23ab74d7ec71a.jpg)
We will create a standard volume. The next step is choosing the volume location.
![image](https://habrastorage.org/getpro/habr/post_images/d2a/185/36a/d2a18536af9d885fda7d5161c00187e5.jpg)
After that, decide on Encryption Algorithm and Hash Algorithm. By default, these are AES, and SHA-512, accordingly. Leave the settings as they are.
![image](https://habrastorage.org/getpro/habr/post_images/16c/ec4/3d8/16cec43d81b09e2deed7473a37958411.jpg)
Now set the maximum volume size. Let’s set it to 5 GB.
![image](https://habrastorage.org/getpro/habr/post_images/c51/3e5/a23/c513e5a230cf890229c68e2e2ec5c01d.jpg)
Click Next and go on to create a password. When the password is given, save it to a safe location or use a password which you remember well. There is no way to restore a forgotten or lost password, and you can’t decrypt the date without the password.
You can use any files that can be applied as an alternative to password, by checking the Use key files option.
![image](https://habrastorage.org/getpro/habr/post_images/d5e/b2c/6a6/d5eb2c6a605140541fe4b1dab1f9eb98.jpg)
Click Next and confirm using large files.
![image](https://habrastorage.org/getpro/habr/post_images/2c7/3f4/f54/2c73f4f540cf005a83a0881e99022be3.jpg)
Click Next and move on to volume format options and encryption key settings. Click and wait until the encrypted volume is created.
![image](https://habrastorage.org/getpro/habr/post_images/290/d8d/86f/290d8d86fd10bfe1e69996a5d8770a17.jpg)
How to mount and unlock the disk to access files?
Click «Select File» in the program’s main window and choose the file where you saved the VeraCrypt container. After the file is chosen, select one of the available disks above. For example, let us select disk XXX and click on Mount.
![image](https://habrastorage.org/getpro/habr/post_images/3e9/9d7/6fa/3e99d76fa09ade1b52d836b0b38cf589.jpg)
Now you need to enter the password.
![image](https://habrastorage.org/getpro/habr/post_images/230/78e/e14/23078ee145f226da0c826dfdd71e0b67.jpg)
Now go to This PC and check if a new disk appeared there.
Recovering deleted files from a VeraCrypt container
Files deleted by mistake or lost after formatting the encrypted disk can be recovered with the help of Hetman Partition Recovery. Before scanning, you should mount the disk in the program. As VeraCrypt uses on-the-fly encryption principle, the recovery process will be no different from working with any other disk.
Without the unlocking password, all data remains encrypted and can’t be restored.
See the full article with all additional video tutorials. If you still have any questions, please ask in a comments. Also visit our Youtube channel, there are over 400 video tutorials.