TrueCrypt Autorun Script for USB

You can easily create an Autorun file on a USB pen drive to mount and dismount the encrypted file systems. This is very useful for carry portable TrueCrypt USB drives.

The only downside is that using TrueCrypt on the move means that you need administrator rights to access the disk.

Once you plug in the USB stick, you should see the typical Windows menu pop up. You can also right-click on the drive icon to mount, dismount and run the truecrypt application.

AUTORUN.INF

[autorun]
label=MyData
icon=truecrypt.exe

action=Mount TrueCrypt Volume
open=truecrypt /v MyData.tc /li /q /a /m rm /e

shell=mounttc
shell\mounttc=&Mount
shell\mounttc\command=truecrypt /v MyData.tc /li /q /a /m rm /e

shell=dismounttc
shell\dismounttc=Dismount
shell\dismounttc\command=truecrypt /di /q

shell=runtc
shell\runtc=Run TrueCrypt
shell\runtc\command=truecrypt

Related posts:

  1. Mounting a remote system with SSH One of the cool things I’ve been doing lately is...
  2. Uninstall Ranger from a Computer without the RangerRemove User Sometimes it might be necessary to remove Sentinel’s Ranger software...
  3. Edit files with Notepad++ From Anywhere on your Network Notepad++ is a very handy tool. It rocks. What is...
  4. Tunnelling on the fly I’ve just been tweaking with SSH. One of the common...
  5. Reset your MediaWiki Sysop Password When you’re stuck without sysop access to MediaWiki because you...

Related posts brought to you by Yet Another Related Posts Plugin.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>