Helf with autorun.inf script

Discussion in 'Windows 7 Help and Support' started by hummer7, Feb 21, 2010.

  1. hummer7

    hummer7 Senior Member

    Joined:
    Nov 8, 2009
    Messages:
    75
    Likes Received:
    0
    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.
     
  2. jeradw

    jeradw Senior Member

    Joined:
    May 8, 2009
    Messages:
    474
    Likes Received:
    6
    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.
     

Share This Page

Loading...