![TrueCrypt TrueCrypt Icon](https://i0.wp.com/1.bp.blogspot.com/_IZq3p83P-jI/TThsY8waM_I/AAAAAAAAAQ0/4eMxJxbs3kA/s1600/TrueCrypt-Icon.jpg?resize=120%2C156)
TrueCrypt is a free open-source disk encryption software for Windows, Mac OS X, and Linux. It allows one to create virtual encrypted disks files (known as a “container”) within normal files and access them as if it were real disks.
By default, assuming you have TrueCrypt installed, when you you double-click on a TrueCrypt container, the TrueCrypt GUI is launched. Then you have to select a drive and click on Mount to get the password prompt.
This tutorial will show how you can directly mount a TrueCrypt container by simply double-clicking on it, skipping straight to the password prompt on Windows.
Steps:
1. Run Regedit (Winkey + R)
2. Navigate to: HKEY_CLASSES_ROOT\TrueCryptVolume\Shell\open\command
![TrueCrypt Registry TrueCrypt Registry](https://i0.wp.com/2.bp.blogspot.com/_IZq3p83P-jI/TThk18GigeI/AAAAAAAAAQs/4VBQ6h_zZ00/s1600/TrueCrypt+Registry.jpg?resize=449%2C236)
3. Double-click on (Default) to edit and append “Value data:” field with “/l x /a /q background /e” to the end of the path and save it. The final path will be:
"C:\Programs\TrueCrypt\TrueCrypt.exe" /v "%1" /l x /a /q background /e
![TrueCrypt Registry Edit TrueCrypt Registry Edit](https://i0.wp.com/2.bp.blogspot.com/_IZq3p83P-jI/TThk3ZvWltI/AAAAAAAAAQw/PEWIHfdWGu8/s1600/TrueCrypt+Registry+2.png?resize=384%2C167)
That’s it! Now whenever you double-click on a TrueCrypt container (.tc) file, you will directly get a password prompt.
![TrueCrypt Password Prompt TrueCrypt Password Prompt](https://i0.wp.com/4.bp.blogspot.com/_IZq3p83P-jI/TThk0deJSJI/AAAAAAAAAQo/aMtoX5CWBjw/s1600/TrueCrypt+Password+Prompt.png?resize=426%2C141)
What does those parameters mean?
- /l x : Specifies the drive the volume is to be mounted onto. Replace “x” with any free drive letter your want.
- /a : Automatically mounts the volume.
- /q background: Mounts drive and minimize TrueCrypt to system tray. You can remove “background” to close TrueCrypt after mounting.
- /e : Open Windows Explorer window for the mounted volume.
Further parameters may be added, refer to the TrueCrypt command line usage guide.