+ Post New Thread
Results 1 to 7 of 7
Coding Thread, autorun to VBS / other script . . . . . . in Coding and Web Development; Hi guys, need a bit of help here. I'm trying to encrypt some USB drives using truecrypt in traveller mode. ...
  1. #1
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,033
    Thank Post
    140
    Thanked 98 Times in 78 Posts
    Rep Power
    32

    autorun to VBS / other script . . . . . .

    Hi guys,

    need a bit of help here. I'm trying to encrypt some USB drives using truecrypt in traveller mode.

    I encrypt the drive and copy the traveller mode file fine and on a non domain PC everything works as it should.

    The problem now is that it wont work on my domain machines because i have autorun disabled and would like to keep it that way. What i'd like to do is have a vbscript or anything really that I can place on the desktop (or shortcut to) that performs the same action as the original autorun.inf file on the USB drive..

    Here's what the autorun.inf is doing..

    [autorun]
    label=TrueCrypt Traveler Disk
    icon=TrueCrypt\TrueCrypt.exe
    action=Mount TrueCrypt volume
    open=TrueCrypt\TrueCrypt.exe /q background /lY /e /m rm /v "SECURE"
    shell\start=Start TrueCrypt Background Task
    shell\start\command=TrueCrypt\TrueCrypt.exe
    shell\dismount=Dismount all TrueCrypt volumes
    shell\dismount\command=TrueCrypt\TrueCrypt.exe /q /d

    Any ideas how to get that to work??
    Last edited by jamin100; 13th September 2010 at 01:01 PM.

  2. #2

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,432
    Thank Post
    1,432
    Thanked 1,160 Times in 794 Posts
    Rep Power
    705
    Personally, I create a .bat file on the USB stick with the following in it:

    Code:
    TrueCrypt\TrueCrypt.exe /q background /e /m rm /v "TC"

    and tell users to run that when they insert their USB stick

  3. Thanks to LosOjos from:

    jamin100 (13th September 2010)

  4. #3
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,033
    Thank Post
    140
    Thanked 98 Times in 78 Posts
    Rep Power
    32
    bloomin' marvelous!!

  5. #4

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,432
    Thank Post
    1,432
    Thanked 1,160 Times in 794 Posts
    Rep Power
    705
    I probably should have said (if you haven't already figured it out) that you need to substitute "TC" with the file name of your True Crypt container

  6. #5
    ajs
    ajs is offline

    Join Date
    Jun 2008
    Location
    Wigton, Cumbria
    Posts
    226
    Thank Post
    2
    Thanked 35 Times in 35 Posts
    Rep Power
    23
    Quote Originally Posted by LosOjos View Post
    Personally, I create a .bat file on the USB stick with the following in it:

    Code:
    TrueCrypt\TrueCrypt.exe /q background /e /m rm /v "TC"

    and tell users to run that when they insert their USB stick
    Have you had any issues running that from a non-admin account? The Truecrypt website says you need admin rights for traveller mode to work properly, which is one thing that's keeping me using the U3 password mechanism for some of my sticks.

  7. #6

    LosOjos's Avatar
    Join Date
    Dec 2009
    Location
    West Midlands
    Posts
    5,432
    Thank Post
    1,432
    Thanked 1,160 Times in 794 Posts
    Rep Power
    705
    Quote Originally Posted by ajs View Post
    Have you had any issues running that from a non-admin account? The Truecrypt website says you need admin rights for traveller mode to work properly, which is one thing that's keeping me using the U3 password mechanism for some of my sticks.
    Can't say I've tried it on a non-admin to be honest, sorry!

  8. #7
    ajs
    ajs is offline

    Join Date
    Jun 2008
    Location
    Wigton, Cumbria
    Posts
    226
    Thank Post
    2
    Thanked 35 Times in 35 Posts
    Rep Power
    23
    Looks like I'll have to actually put some effort in and test it myself then :-)

SHARE:
+ Post New Thread

Similar Threads

  1. USB Autorun
    By DSapseid in forum Scripts
    Replies: 12
    Last Post: 17th May 2010, 12:00 PM
  2. autorun video cd
    By fafster in forum How do you do....it?
    Replies: 12
    Last Post: 2nd March 2010, 09:07 AM
  3. Autorun.inf Virus - Help
    By craigg in forum Windows
    Replies: 8
    Last Post: 8th March 2009, 03:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •