Windows Driver: Disable Hibernation when RAM encryption is enabled since we can't resume from Hibernation without RAM encryption keys (a chicken and egg situation)
This commit is contained in:
parent
9b804137e0
commit
3923d11c7b
|
@ -660,6 +660,12 @@ static NTSTATUS MountDrive (DriveFilterExtension *Extension, Password *password,
|
|||
{
|
||||
CrashDumpEnabled = TRUE;
|
||||
HibernationEnabled = TRUE;
|
||||
#ifdef _WIN64
|
||||
if (IsRamEncryptionEnabled())
|
||||
{
|
||||
HibernationEnabled = FALSE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (!LegacyHibernationDriverFilterActive)
|
||||
StartLegacyHibernationDriverFilter();
|
||||
|
|
Loading…
Reference in New Issue