From 290412afced5f020c3c3cdaafe86c4352608ab16 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 21 Jul 2020 12:14:31 +0200 Subject: Windows Setup: Warn about Fast Startup during install if it is enabled and propose to disable it at the end of the installation. --- src/Setup/Setup.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Setup/Setup.c') diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c index 7d17962c..364395d8 100644 --- a/src/Setup/Setup.c +++ b/src/Setup/Setup.c @@ -2362,6 +2362,15 @@ void DoInstall (void *arg) if (bOK && !bUninstall && !bDowngrade && !bRepairMode && !bDevm) { + BOOL bHibernateEnabled = FALSE, bHiberbootEnabled = FALSE; + if (GetHibernateStatus (bHibernateEnabled, bHiberbootEnabled)) + { + if (bHiberbootEnabled) + { + bPromptFastStartup = TRUE; + } + } + if (!IsHiddenOSRunning()) // A hidden OS user should not see the post-install notes twice (on decoy OS and then on hidden OS). { if (bRestartRequired || SystemEncryptionUpdate) -- cgit v1.2.3