+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Hardware Thread, Autorun.inf on USB stick in Technical; Apologies if this is the wrong forum. Situation is: I have some USB sticks that teachers will use and they ...
  1. #1
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12

    Autorun.inf on USB stick

    Apologies if this is the wrong forum.

    Situation is: I have some USB sticks that teachers will use and they are encrypted using TrueCrypt. TrueCrypt is installed on the stick and there is an autorun.inf file as well, so that when they connect it to a PC it prompts them to run the app and then enter the password to mount the device.

    Problem is: If for some reason the autorun does not work, is there an easy way to execute it manually? Obviously the member of staff could open the TrueCrypt folder and then run the executable and then select mount device, but I am really trying to avoid them having to do so.

    Any help will be greatly received.

  2. #2

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,178
    Thank Post
    303
    Thanked 332 Times in 236 Posts
    Rep Power
    141
    Had the same thoughts. My solution (and a discussion worth reading through) is here.

  3. Thanks to LeMarchand from:

    JPS (1st March 2011)

  4. #3
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Thanks @LeMarchand so far. Am I right in thinking then, I just need a copy of that batch file (hint hint) therefore providing the teacher with one shortcut to use in case of autorun failure?

  5. #4
    fawkers's Avatar
    Join Date
    Jun 2007
    Location
    Southend
    Posts
    193
    Thank Post
    32
    Thanked 22 Times in 21 Posts
    Blog Entries
    2
    Rep Power
    31
    There is also the small issue that MS have now disabled auto run for all plugin devices in a recent update.

  6. #5
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Quote Originally Posted by fawkers View Post
    There is also the small issue that MS have now disabled auto run for all plugin devices in a recent update.
    If thats the case it sounds like i'm a bit screwed. Is there any kind of work around for this? Do we know why they have implemented this?

  7. #6
    fawkers's Avatar
    Join Date
    Jun 2007
    Location
    Southend
    Posts
    193
    Thank Post
    32
    Thanked 22 Times in 21 Posts
    Blog Entries
    2
    Rep Power
    31
    its to stop the spread of virus via autorun.inf i think you can change the behavior in the registry i'll try and fond the KB for you.

  8. Thanks to fawkers from:

    JPS (1st March 2011)

  9. #7

    LeMarchand's Avatar
    Join Date
    Jan 2008
    Location
    The deepest pits of hell
    Posts
    2,178
    Thank Post
    303
    Thanked 332 Times in 236 Posts
    Rep Power
    141
    Quote Originally Posted by JPS View Post
    Thanks @LeMarchand so far. Am I right in thinking then, I just need a copy of that batch file (hint hint) therefore providing the teacher with one shortcut to use in case of autorun failure?
    I'm looking, but it looks as if I stupidly didn't save the batch file before converting it to an exe.

    Quote Originally Posted by JPS View Post
    If thats the case it sounds like i'm a bit screwed. Is there any kind of work around for this? Do we know why they have implemented this?
    What fawkers said; another workaround would be the shortcut method suggested.

  10. Thanks to LeMarchand from:

    JPS (1st March 2011)

  11. #8
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    I think I have fixed it. I have placed a shortcut in the root with the following target:

    E:\TrueCrypt\TrueCrypt.exe /q background /e /m rm /v "Secure"

    and a Start In of just E:\

    So I should just be able to advise staff to double click that if they dont get autorun. I've also hidden all the contents except of course this shortcut.

    Would you guys agree I haven't made any oversights?

  12. #9
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    oh shoot, i got excited too early. Just tested it on a teacher account and realised because it needs to run a driver for TrueCrypt to work, the account needs admin privileges, which of course they dont have.

    Any suggestions, other than granting them admin access? Is there a file from the TrueCrypt folder that I can roll out to all PCs, therefore negating the need for admin rights?

  13. #10

    Join Date
    Dec 2007
    Location
    cumbria
    Posts
    182
    Thank Post
    7
    Thanked 43 Times in 39 Posts
    Rep Power
    25
    look at USBDLM ..

  14. #11
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Quote Originally Posted by tumbleweed View Post
    look at USBDLM ..
    Do you think it is just a drive letter issue then?

  15. #12
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    I've installed USBDLM on the test laptop and have been able to assign default drive letters to usb devices but this hasn't helped the situation.

    The error message is talking about a TrueCrypt device driver, which presumably has to be installed, but can't be due to restrictions.

    My next thought was to install TrueCrypt on to the laptop. It may solve the issue but then will be a pain to install it on all school machines.

  16. #13
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Right, once installed on the machine it now works (surprise that really, given the drivers required are all in place) so now just a case of rolling out an MSI which I think I have found from another thread. Its a .7z file which I havent seen before but I guess thats what I need.

  17. #14
    superfletch's Avatar
    Join Date
    Nov 2007
    Location
    South
    Posts
    434
    Thank Post
    146
    Thanked 77 Times in 61 Posts
    Rep Power
    31
    .7z will be a 7zip file so you'll probably need to uncompress it and go from there.

  18. Thanks to superfletch from:

    JPS (1st March 2011)

  19. #15
    JPS
    JPS is offline
    JPS's Avatar
    Join Date
    May 2010
    Location
    Chelmsford
    Posts
    293
    Thank Post
    91
    Thanked 44 Times in 40 Posts
    Rep Power
    12
    Well I have learnt an awful lot this afternoon! Now established the MSI I have obtained is for v6.3, which of course wont work with my version 7 of TrueCrypt. So now I am hoping to build my own MSI using AdvancedInstaller which I have never used before (downloading now). Fingers crossed this will be the last hurdle.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. USB Autorun
    By DSapseid in forum Scripts
    Replies: 12
    Last Post: 17th May 2010, 12:00 PM
  2. Autorun.inf Virus - Help
    By craigg in forum Windows
    Replies: 8
    Last Post: 8th March 2009, 03:17 PM
  3. Which 3G USB Stick?
    By SimpleSi in forum General Chat
    Replies: 5
    Last Post: 7th March 2009, 06:02 PM
  4. USB Flash Disk - autorun.inf - nightmare
    By meastaugh1 in forum Windows
    Replies: 8
    Last Post: 14th October 2008, 10:15 AM

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
  •