Menu

temporary cache password option on the command line

2022-08-01
2022-08-01
  • Daniel Groß

    Daniel Groß - 2022-08-01

    Hello,
    I have 3 volumes with the same password. By specifying "temporary cache password when mounting multiple favorites" I have to type the password just once when I mount the 3 volumes using the GUI.

    Now I'm trying to mount these volumes using the command line:

    veracrypt" /q /v C:\V1 /l S /c f
    veracrypt" /q /v G:\V2 /l T /c f
    veracrypt" /q /v D:\V3 /l U /c f

    I expected to be asked for the password just once when specifying /c f. But that doesn't work, I'm asked for the same PW 3 times. Any idea what is wrong here...?

    Thanks...

     
  • Adrian Kentleton

    a. Not sure why you have a " in your command line.

    b. Have you tired /c p instead of /c f with the first command, shouldn't need it with second and third.

     

    Last edit: Adrian Kentleton 2022-08-01
    • Daniel Groß

      Daniel Groß - 2022-08-01

      Thanks for the quick answer, it works! (the " is a remainder from the full installation path that I specified in my original script. I failed to delete it before posting, sorry).

      I think when using /c p instead of /c f I will have to clear the password cache afterwards for safety...

      Thank you ...

       
  • Adrian Kentleton

    Yes, just use /w with the third command.

     
    • Daniel Groß

      Daniel Groß - 2022-08-01

      Thank you very much...

       
  • Adrian Kentleton

    If you have saved those three volumes (only) as 'Favorite Volumes', mounting to the specified drive letters, there's an easier command line to achieve your objective:

    veracrypt /a favorites /q /c f
    
     

    Last edit: Adrian Kentleton 2022-08-01
    • Daniel Groß

      Daniel Groß - 2022-08-01

      Thanks, but I wanted to remove these volumes from my 'Favorite Volumes'-List because I don't need them every day and don't want to mount them each time I 'Mount favorite Volumes', but on the other side still have an option for an easy mounting...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.