mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Windows: Add registry setting to disable erasing encryption keys on Windows shutdown/reboot. This helps solve BSOD during shutdown/reboot on some machines.
Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt", create a REG_DWORD value named "VeraCryptEraseKeysShutdown" and set its value to 0.
This commit is contained in:
@@ -128,6 +128,7 @@ extern BOOL AllowWindowsDefrag;
|
||||
extern int EncryptionIoRequestCount;
|
||||
extern int EncryptionItemCount;
|
||||
extern int EncryptionFragmentSize;
|
||||
extern BOOL EraseKeysOnShutdown;
|
||||
/* Helper macro returning x seconds in units of 100 nanoseconds */
|
||||
#define WAIT_SECONDS(x) ((x)*10000000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user