robrob22 Posted May 12, 2007 Posted May 12, 2007 Config Windows To Make Trucrypt.exe be in the system path Any questions ask truecrypt with command "truecrypt /?" Replace After /v , Replace After /k also replace after /l for drive letter . -----------------CODE UNDER-----------Save As Automount.bat-------------------------------------------- REM TrueCrypt mounting script (version 2) REM Written by Mark Ursino (allthingsmarked.com) REM Modifications are allowed, but please include these comments @echo off cls set /P thepass="Enter the volume pasword: " truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l d /m /a /p %thepass% /b /q truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l e /m /a /p %thepass% /b /q cls -------------------------------------CODE END----------------------------------------------------------------------------------------- . . Replace After /d with drive letter you want example /dd for drave D: or /de for drave E: ----------------------CODE UNDER-----------Save As Unmount.bat--------------------------------------------------------------------------------------- REM TrueCrypt unmounting script REM Written by Mark Ursino (allthingsmarked.com) REM Modifications are allowed, but please include these comments @echo off cls truecrypt /dd /q truecrypt /de /q cls --------------------------------Code ENDS-------------------------------------------------------------------------------------------------- . Why not add the bat files to your USB drive? Never tried this code. If anyone gets autorun.inf to work please Post . ----------------------CODE UNDER-----------Save As autorun.inf------------------------ [autorun] open=cscript Automount.bat ACTION = Mount TrueCrypt Volume ----------------------CODE ENDS---------------------------------------------------------------- Quote
natural_orange Posted May 12, 2007 Posted May 12, 2007 This completely defeats the purpose of truecrypt...doesn't it If your saving you password in the bat file than whats the point? Heres a fix -----------------CODE UNDER-----------Save As Automount.bat-------------------------------------------- REM TrueCrypt mounting script (version 2) REM Written by Mark Ursino (allthingsmarked.com) REM Modifications are allowed, but please include these comments @echo off cls truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l d /m /a /p %1 /b /q truecrypt /v whereHarddiskPartitionIs /k C:werekeyis /l e /m /a /p %2 /b /q cls -------------------------------------CODE END----------------------------------------------------------------------------------------- That would allow you to type automount lamepassword1 lamepassword2 right into the run... command or into a command prompt and it wouldn't prompt you for the password, this way you could do diffrent passwords for each volume *I haven't used true crypt so if this is completely wrong im just guessing Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.