mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Add setting in main UI and setup wizard to disable memory protection
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
This commit is contained in:
@@ -74,6 +74,7 @@ BOOL UnloadDriver = TRUE;
|
||||
BOOL bSystemRestore = TRUE;
|
||||
BOOL bDisableSwapFiles = FALSE;
|
||||
BOOL bForAllUsers = TRUE;
|
||||
BOOL bDisableMemoryProtection = FALSE;
|
||||
BOOL bRegisterFileExt = TRUE;
|
||||
BOOL bAddToStartMenu = TRUE;
|
||||
BOOL bDesktopIcon = TRUE;
|
||||
@@ -2335,6 +2336,11 @@ void DoInstall (void *arg)
|
||||
if (bSystemRestore)
|
||||
SetSystemRestorePoint (hwndDlg, TRUE);
|
||||
|
||||
if (bOK && bDisableMemoryProtection)
|
||||
{
|
||||
WriteMemoryProtectionConfig(FALSE);
|
||||
}
|
||||
|
||||
if (bOK)
|
||||
{
|
||||
UpdateProgressBarProc(100);
|
||||
|
||||
Reference in New Issue
Block a user