Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Enable startup options on every cold boot?

General Questions, Rumors, Real news & More
Post Reply
Message
Author
Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 941
Joined: Mon May 24, 2004 10:11 am

Enable startup options on every cold boot?

#1 Post by Edward Mendelson » Wed Nov 27, 2024 7:39 am

This is specifically about my shiny new-old P51, but probably applies to all ThinkPads for a long time.

Is there any way to enable the "Press Enter for Startup Options" (or something like that) prompt on every cold boot? I have Windows 11 installed on one disk, Windows 10 on another, and Ubuntu on a third, and I want to be able to use the F12 menu to choose between them. As it stands, if I'm running Windows 11, I can only get to that menu after booting by using the "advanced startup options" option in Windows.

I have Secure Boot turned off in the BIOS. Is there anything else I can do to fix this mild annoyance?

TPFanatic
Senior ThinkPadder
Senior ThinkPadder
Posts: 2824
Joined: Thu Jul 30, 2015 11:29 pm

Re: Enable startup options on every cold boot?

#2 Post by TPFanatic » Wed Nov 27, 2024 8:16 am

OK this is problem caused by Windows masquearing Hibernate/Sleep/Deep Sleep as Shutdown. Microsoft thinks they know better than Pro users.

just fyi P51 is old enough to run Windows 7 with none of this 8+ nonsense. idgaf about CVE-2024-30078

Recomended further reading for empowerment:
https://www.tenforums.com/tutorials/418 ... -10-a.html
How to Turn On or Off Fast Startup in Windows 10


Fast startup (aka: hiberboot, hybrid boot, or hybrid shutdown) is turned on by default in Windows and is a setting that helps your PC start up faster after shutdown. Even faster than hibernate. Windows does this by saving an image of the Windows kernel and loaded drivers to the hiberfile (C:\hiberfil.sys) upon shutdown so when you start your PC again, Windows simply loads the hiberfile (C:\hiberfil.sys) into memory to resume your PC instead of restarting it.
Turn On or Off Fast Startup in Windows 10-cold_hybridboot.png

For more information about fast startup, see:

Delivering fast boot times in Windows 8 - Building Windows 8 - Site Home - MSDN Blogs
Designing for PCs that boot faster than ever before - Building Windows 8 - Site Home - MSDN Blogs
Distinguishing Fast Startup from Wake-from-Hibernation | Microsoft Docs
Delivering a great startup and shutdown experience | Microsoft Docs


Updates may not be installed with Fast Startup in Windows 10 version 1809 and 1903

Fast startup causes hibernation or shutdown to fail in Windows 10 or 8.1

The fast startup setting doesn’t apply to Restart. You need to shut down and then start your PC again for fast startup to take effect.

Fast startup requires that hibernate be enabled. If you only want to use fast startup and don't plan on using hibernate, then you can specify the hiberfile type as reduced to significantly reduce the size of the hiberfile (C:\hiberfil.sys) to about half of its full size.

If you disable hibernate, then it will also disable fast startup.

You must be signed in as an administrator to turn fast startup on or off.

This tutorial will show you how to turn fast startup on or off for all users in Windows 10.


For a Windows 11 version of this tutorial, see:

Turn On or Off Fast Startup in Windows 11


Contents

Option One: To Turn On or Off Fast Startup in System Settings
Option Two: To Turn On or Off Fast Startup using a BAT file
Option Three: Enable or Disable to Require Fast Startup in Local Group Policy Editor
Option Four: Enable or Disable to Require Fast Startup using a REG file







OPTION ONE
To Turn On or Off Fast Startup in System Settings

1 Open the Control Panel (icons view), and click on the Power Options icon.

2 Click/tap on the Choose what the power buttons do link on the left side. (see screenshot below)

Turn On or Off Fast Startup in Windows 10-fast_startup-1.jpg

3 Click/tap on the Change settings that are currently unavailable link at the top. (see screenshot below)

Turn On or Off Fast Startup in Windows 10-fast_startup-2.jpg

4 If prompted by UAC, click/tap on Yes.

5 Do step 6 or step 7 below for what you would like to do.


6. To Turn On Fast Startup

This is the default setting.
A) Under Shutdown settings, check the Turn on fast startup box, click/tap on the Save changes button, and go to step 8 below. (see screenshot below step 8)


7. To Turn Off Fast Startup

A) Under Shutdown settings, uncheck the Turn on fast startup box, click/tap on the Save changes button, and go to step 8 below. (see screenshot below step 8)


8 You can now close the System Settings window if you like.

If the Turn on fast startup setting is not listed, then you will need to close the System Settings window, enable hibernate, then start over at step 1 again.

Turn On or Off Fast Startup in Windows 10-fast_startup-3.jpg






OPTION TWO
To Turn On or Off Fast Startup using a BAT file

The downloadable .bat files below will modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

HiberbootEnabled DWORD

0 = Turn off fast startup
1 = Turn on fast startup

1 Do step 2 (toggle on/off), step 3 (on), or step 4 (off) below for what you would like to do.


2. To Toggle On and Off Fast Startup

Special thank you to Matthew Wai for providing this .bat file option.
A) Click/tap on the Download button below to download the BAT file below, and go to step 5 below.

Turn_On_or_Off_Fast_Startup.bat

Download


3. To Turn On Fast Startup

This is the default setting.
A) Click/tap on the Download button below to download the BAT file below, and go to step 5 below.

Turn_On_Fast_Startup.bat

Download


4. To Turn Off Fast Startup

A) Click/tap on the Download button below to download the BAT file below, and go to step 5 below.

Turn_Off_Fast_Startup.bat

Download


5 Save the .bat file to your desktop.

6 Right click or press and hold on the downloaded .bat file, and click/tap on Run as administrator.

You can skip this step if you downloaded the Turn_On_or_Off_Fast_Startup.bat file from step 2.

7 When prompted, click/tap on Run and Yes (UAC).

If you like, you can stop getting the Run prompt by unblocking the downloaded .bat file.

8 You will now notice your screen flicker as a command prompt quickly opens and closes to apply the registry changes.

9 You can now delete the downloaded .bat file if you like.






OPTION THREE
Enable or Disable to Require Fast Startup in Local Group Policy Editor

If enabled, this option will override Option One and Option Two.

The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

All editions can use Option Four.

1 Open the Local Group Policy Editor.

2 Navigate to the key below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration\Administrative Templates\System\Shutdown

Turn On or Off Fast Startup in Windows 10-fast_startup_gpedit-1.png

3 In the right pane of Shutdown in Local Group Policy Editor, double click/tap on the Require use of fast startup policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (default) below for what you would like to do.


5. To Enable Require Fast Startup

A) Select (dot) Enabled, click/tap on OK, and go to step 7 below. (see screenshot below)


6. Default to Not Require Fast Startup

A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

Not Configured is the default setting. This will allow you to use Option One and Option Two to turn on or off fast startup.
Turn On or Off Fast Startup in Windows 10-fast_startup_gpedit-2.png

7 When finished, you can close the Local Group Policy Editor if you like.






OPTION FOUR
Enable or Disable to Require Fast Startup using a REG file

If enabled, this option will override Option One and Option Two.

The downloadable .reg files below will modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System

HiberbootEnabled DWORD

(delete) = Default
1 = Always enable

1 Do step 2 (enable) or step 3 (default) below for what you want to do.


2. To Enable Require Fast Startup

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Enable_require_Fast_Startup.reg

Download


3. Default to Not Require Fast Startup

This is the default setting. This will allow you to use Option One and Option Two to turn on or off fast startup.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Default_not_require_Fast_Startup.reg

Download


4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 If you like, you can delete the downloaded .reg file if you like.


That's it,
Shawn Brink
https://www.elevenforum.com/t/turn-on-o ... s-11.1212/
This tutorial will show you how to turn on or off fast startup in Windows 11.

There are three startup modes in Windows:

Cold (traditional)
Wake-from-hibernation
Fast

Starting with Windows 8.x, the default shutdown and restart scenario has been updated and named fast startup. Fast startup begins with the shutdown process and includes writing data to disk similar to the hibernate process. A key difference is that all user sessions (Session 1) are logged off and the remaining information is written to the hiberfile (C:\hiberfil.sys). When you boot the PC from this state, Windows loads the previously initialized state by reading from the hiberfile, instead of running the full cold boot process in which Windows, drivers, devices, and services are initialized. This method speeds up the process of initializing the lock or Start screen.

In addition, the use of hibernate technology has been expanded to create a new default startup and shutdown experience that is much faster than a full boot. For details, see the following diagram:

Diagram of the phases in fast startup and shutdown

Cold_HybridBoot.png


The faster startup and shutdown sequence uses the hibernate infrastructure to place the PC in hibernate. Unlike a full shutdown and boot, the user session is closed and a hibernate is performed. As a result, the hibernate file is much smaller, ensuring that the hibernate and resume process is faster. This sequence also takes advantage of the parallelization optimizations.

References:
docs.microsoft.com
Delivering a great startup and shutdown experience
Overview of fast startup and recommendations to deliver the best on/off experience
docs.microsoft.com
docs.microsoft.com
Distinguishing Fast Startup from Wake-from-Hibernation - Windows drivers
Starting with Windows 8, a fast startup mode is available to start a computer in less time than is typically required for a traditional, cold startup.
docs.microsoft.com


You must be signed in as an administrator to turn on or off fast startup.

Fast startup requires hibernate to be enabled. If you only want to use fast startup and don't plan on using hibernate, then you can specify the hiberfile type as reduced to significantly reduce the size of the hiberfile (C:\hiberfil.sys) to about half of its full size.

If you disable hibernate, it will also disable fast startup.


Contents

Option One: Check if Fast Startup is Currently Enabled or Disabled in PowerShell
Option Two: Turn On or Off Fast Startup in Control Panel
Option Three: Turn On or Off Fast Startup using REG file
Option Four: Enable or Disable Require Fast Startup in Local Group Policy Editor
Option Five: Enable or Disable Require Fast Startup using REG file





Option One
Check if Fast Startup is Currently On or Off in PowerShell

1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

(GP "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power")."HiberbootEnabled"​

3 Look to see what value is returned:

If "1" is returned, Fast Startup is turned on.
If "0" is returned, Fast Startup is turned off.

If hibernate is disabled, Fast Start will also be disabled even if it shows as turned on. Disabling hibernate overrides Fast Startup turned on.

Fast_Startup_status_command.png





Option Two
Turn On or Off Fast Startup in Control Panel

1 Open the Control Panel (icons view), and click/tap on the Power Options icon.

2 Click/tap on the Choose what the power buttons do link on the left side. (see screenshot below)

Fast_startup_system_settings-1.png

3 Click/tap on the Change settings that are currently unavailable link at the top. (see screenshot below)

Fast_startup_system_settings-2.png

4 Check (on - default) or uncheck (off) Turn on fast startup for what you want, and click/tap on Save changes. (see screenshot below)

If the Turn on fast startup setting is missing, then you will need to enable hibernate.

Fast_startup_system_settings-3.png

5 You can now close the Control Panel if you like.




Option Three
Turn On or Off Fast Startup using REG file

1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


2 To Turn On Fast Startup

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Turn_on_fast_startup.reg​

Download ​

(Contents of REG file for reference)
Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000001


3 To Turn Off Fast Startup

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Turn_off_fast_startup.reg​

Download ​

(Contents of REG file for reference)
Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"HiberbootEnabled"=dword:00000000


4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.




Option Four
Enable or Disable Require Fast Startup in Local Group Policy Editor

The Local Group Policy Editor will only be available in the Windows 11 Pro, Enterprise, and Education editions.

All editions can use Option Five below instead for the same policy.

1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of Local Group Policy Editor. (see screenshot below)

Computer Configuration\Administrative Templates\System\Shutdown​

Fast_startup_system_gpedit-1.png

3 In the right pane of Shutdown in Local Group Policy Editor, double click/tap on the Require use of fast startup policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (disable) below for what you want.


5 Enable Require Fast Startup

This will override and prevent using Option Two and Option Three.

A) Select (dot) Enabled. (see screenshot below)​

B) Click/tap on OK, and go to step 7.​

Fast_startup_system_gpedit-3.png


6 Disable Require Fast Startup

This is the default setting to allow using Option Two and Option Three.

A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Fast_startup_system_gpedit-2.png


7 You can now close the Local Group Policy Editor if you like.




Option Five
Enable or Disable Require Fast Startup using REG file

1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.


2. Enable Require Fast Startup

This will override and prevent using Option Two and Option Three.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Enable_require_fast_startup.reg​

Download ​

(Contents of REG file for reference)
Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"HiberbootEnabled"=dword:00000001



3. Disable Require Fast Startup

This is the default setting to allow using Option Two and Option Three.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Default_disable_require_fast_startup.reg​

Download ​

(Contents of REG file for reference)
Code:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"HiberbootEnabled"=-


4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 941
Joined: Mon May 24, 2004 10:11 am

Re: Enable startup options on every cold boot?

#3 Post by Edward Mendelson » Wed Nov 27, 2024 8:38 am

Terrific information. Thank you! Will sort this out now...

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 24727
Joined: Mon Sep 18, 2006 5:17 am
Location: Loch Garman, Éire

Re: Enable startup options on every cold boot?

#4 Post by RealBlackStuff » Wed Nov 27, 2024 8:51 am

If you're dual booting Windows and Linux, the preferred solution seems to be to use the GRUB bootloader with an indefinite timeout, instead of the motherboard's BIOS boot menu.

GRUB will give you the option to boot the Linux system it's from, or any other operating system it can find. And GRUB can be configured to wait forever.

Found the above on Superuser.com, more info here.
Lovely day for a Guinness! (The Real Black Stuff)
But I actually prefer Murphy's from Cork!

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 941
Joined: Mon May 24, 2004 10:11 am

Re: Enable startup options on every cold boot?

#5 Post by Edward Mendelson » Wed Nov 27, 2024 9:05 am

RealBlackStuff wrote:
Wed Nov 27, 2024 8:51 am
If you're dual booting Windows and Linux, the preferred solution seems to be to use the GRUB bootloader with an indefinite timeout, instead of the motherboard's BIOS boot menu.

GRUB will give you the option to boot the Linux system it's from, or any other operating system it can find. And GRUB can be configured to wait forever.

Found the above on Superuser.com, more info here.
Yes, and Linux gave me the option to install GRUB, but I decided to go with completely separate systems so that I could more easily modify them. The solution was to remove the SSDs with Windows 10 and 11 before installing Linux. Then the Linux installer knew nothing about the Windows systems, and they could stay completely separate. I don't boot to Linux often enough to need it on the bootloader.

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 941
Joined: Mon May 24, 2004 10:11 am

Re: Enable startup options on every cold boot?

#6 Post by Edward Mendelson » Wed Nov 27, 2024 9:55 am

And disabling fast startup in the Windows Control Panel was exactly what I needed. I think I once knew this, years ago, and long since forgot it.

TPFanatic
Senior ThinkPadder
Senior ThinkPadder
Posts: 2824
Joined: Thu Jul 30, 2015 11:29 pm

Re: Enable startup options on every cold boot?

#7 Post by TPFanatic » Wed Nov 27, 2024 11:01 am

dont blame urself. M$ is like an abuser, changing the names of things to mean different things, changing the rules out from under you, so people stop paying attention as a matter of course or dismiss themselves are not smart enough. Hibernate used to be Hibernate, Shutdown was Shutdown, Sleep was Sleep. Now Sleep is Hibernate, Shutdown is Hibernate, Hibernate is Deep Sleep, Fast Startup is Shutdown, Democrats are Republicans, etc.. It's called Gaslighting and it's just the Business Ethics paradox as usual.

Where's anti-trust laws when you need them?

People gotta start suing for themselves.

dr_st
Admin
Admin
Posts: 10032
Joined: Sat Oct 29, 2005 6:20 am
Location: Israel

Re: Enable startup options on every cold boot?

#8 Post by dr_st » Wed Nov 27, 2024 4:54 pm

Thinkpad 25 (20K7), T16 Gen 3 (21MQ), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “GENERAL ThinkPad News/Comments & Questions”

Who is online

Users browsing this forum: No registered users and 88 guests