Helf with autorun.inf script

hummer7

Senior Member
#1
TrueCrypt is used in my flashdrive. Whenever I plug in my flashdrive into a USB port, it automatically prompts TrueCrypt.
That is with Windows XP. But the flash drive does not prompt TrueCrypt with Windows 7. It seems that the scritp for autorun.inf must be modifed for Windows 7.
I wonder whether anybody could modify the autorun.inf for windows 7. The autorun script which works in Windows XP is as follows:

[autorun]
icon=TrueCrypt\TrueCrypt.exe
action=Mount TrueCrypt volume
open=TrueCrypt\TrueCrypt.exe /q background /e /m rm /v "MyCrypt"
shell\start=Start TrueCrypt
shell\start\command=TrueCrypt\TrueCrypt.exe
shell\dismount=Dismount all TrueCrypt volumes
shell\dismount\command=TrueCrypt\TrueCrypt.exe /q /dU
action=Mount TrueCrypt volume
open=TrueCrypt\TrueCrypt.exe /q background /e /m rm /v "MyCrypt"
shell\start=Start TrueCrypt
shell\st...

**MyCrypt is the name of a file/volume for True Crypt.
 


jeradw

Senior Member
#2
According to this site (Windows 7 USB Autorun.inf)

"Microsoft has removed the autorun.inf feature from Windows 7. This means that when you insert the USB drive, the programs will not automatically start up"

I am going to continue to search around and see if I can find anything else.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.