Menu

prevent disconnect after sleep mode?

2023-05-14
2023-05-20
  • Louis Noser

    Louis Noser - 2023-05-14

    Hello
    After Windows wakes up from sleep mode, I have to manually mount the Veracrypt storage medium again.
    What can I do so that the mounted storage media remain mounted despite the energy-saving mode?

     
  • RealTehreal

    RealTehreal - 2023-05-14

    I'm not familiar with Windows, but maybe you could create a Powershell script to mount yout volume. Then make it automatically execute after login from sleep mode. Just an idea.

    Greets

     
  • Louis Noser

    Louis Noser - 2023-05-14

    Tx a lot.

    I've been thinking about doing this with a script, too. But can't you do that with Veracrypt on-board resources? Is a Script required?

    There is an Option in Veracrypt-Settings: "Mount all disk volumes after user login." However, if I activate this option, the volumes are still not mounted after waking up.

    Greets, too.

     
  • Louis Noser

    Louis Noser - 2023-05-18

    I noticed that after waking up the computer, both Veracrypt storage media (2 SSDs) are accessible, but not all folders or folder levels. Isn't that weird? Or is the problem known?

     
  • crbrac

    crbrac - 2023-05-18

    The option you're looking for is under Settings > Preferences > Auto-Dsimount. Uncheck all but Users log off and you can resume from sleep/hibernation with the volumes still mounted. These have been around for a long time. No script needed.

     
  • Louis Noser

    Louis Noser - 2023-05-19

    Hello
    The auto-dismount options are all set as you suggested (attachment). The Veracrypt media are displayed in Windows Explorer after the PC wakes up, including the top folder level. However, when I click on a folder in this top level, the message appears: The specified device cannot be accessed. It seems to me the problem isn't with the mount, it's something else.

     
  • Louis Noser

    Louis Noser - 2023-05-19

    Here the attachment.

     
  • crbrac

    crbrac - 2023-05-20

    It's strange yours isn't behaving as designed in spite of the right settings. Not sure if this is related, but try enabling Mount Volumes as Removable Media in the settings. This is recommended anyway for a few other benefits as detailed here: https://www.veracrypt.fr/en/Removable%20Medium%20Volume.html

    If that doesn't work try creating a new Veracrypt volume and/or reinstalling VC and see if the issue persists. No matter what you do make sure you have backups (encrypted or not).

    I see you've enabled password caching but not PIM. Again, not sure how that would play out if you have PIM enabled but not cached upon auto-mount.

    Beyond this it's the realm of the developers, I'm afraid. Maybe @enigma2illusion can chime in?

     

    Last edit: crbrac 2023-05-20
  • Enigma2Illusion

    Enigma2Illusion - 2023-05-20

    Based on your screenshot of the VeraCrypt Preferences, the only suggestion I can offer is to uncheck the under Settings > Preferences > Auto-Dismount > User logs off setting.

     

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.