Menu

Enabling RAM encryption causing Windows Shut Down function to not work properly.

2019-10-10
2019-10-17
  • Blip of Consciousness

    Selecting Shutdown fails to shutdown system & returns to the windows login screen then to desktop as if Windows just started. Continuted attempts result in the same loop. Restart and Sleep seem to work normal.

    Machine: HP 15 running Win10 (fully updated as of 10/10/19)
    VC: 1.24

    My tests (Shutdown = manually selecting shutdown button)
    After enabling RAM encryption & retarting OS:
    Shut Down (failed)>Shutdown (failed) > Hard Shutdown

    After disabling RAM encryption & retarting OS:
    Shutdown (success)>Boot OS
    Shutdown (success)>Boot OS

    After enabling RAM encryption & retarting OS:
    Shut Down (failed)>Shutdown (failed)> Hard Shutdown

    After disabling RAM encryption & retarting OS:
    Shutdown (success)>Boot OS

     
  • Enigma2Illusion

    Enigma2Illusion - 2019-10-10

    Are you using VeraCrypt system encryption?

    Per the release notes for RAM encryption:

    Side effect: Windows Hibernate is not possible if VeraCrypt System Encryption is also being used.

    .
    If yes, have disabled Windows Fast Startup since this uses the Windows hibernate?

    https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html

     
    👍
    1
    • Blip of Consciousness

      Yes, I am using system encryption & you are correct that Fast Startup was causing the issue. I am now able to Shutdown normally now.

      I've seen the release notes that were provided when 1.24 came out, however, there is no meantion that Fast Startup must be disabled in order to Shutdown. It is not immediatly obvious (to me at least) of the connection. Perhaps the documentation should be updated for clarification? Also, disabling Fast Startup is 2 lines of code. Would it be possible to have VC disable this when selecting enable RAM encryption? Or at least output that the user needs to disable it? Just Ideas. Anyway, thank you for addressing this issue. Everything works as it should. Thank you Enigma.

       
  • Enigma2Illusion

    Enigma2Illusion - 2019-10-10

    I agree. I have previously created a feature request to have VeraCrypt disable Windows Fast Startup due to impacts on VeraCrypt and now RAM encryption with system encryption.

    https://sourceforge.net/p/veracrypt/tickets/180/

     

    Last edit: Enigma2Illusion 2019-10-10
  • Mikael

    Mikael - 2019-10-16

    @enigma2illusion,

    I have encrypted the windows partition, and I enabled ram encryption and disabled hibernation to avoid the issue like the issue above however should sleep mode be disabled as well or its fine?

     

    Last edit: Mikael 2019-10-16
    • Enigma2Illusion

      Enigma2Illusion - 2019-10-16

      I don't know if sleep mode will cause issues with VeraCrypt. Most of the forum postings I have seen involve the hibernation file. Also, many people confuse sleep mode with hibernation modes and vice versa.

      https://www.howtogeek.com/102897/whats-the-difference-between-sleep-and-hibernate-in-windows/

       

      Last edit: Enigma2Illusion 2019-10-16
    • Mounir IDRASSI

      Mounir IDRASSI - 2019-10-17

      Sleep mode doesn't cause any problem with RAM encryption because in this case the machine RAM and disk stay in the same state.

       

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.