Win11Debloat icon indicating copy to clipboard operation
Win11Debloat copied to clipboard

Probably better way to disable Hibernate (Fast boot)

Open midncircus opened this issue 7 months ago • 1 comments

Hi. Currently the way to disable hibernation is:

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

which is OK, but it keeps and locks hiberfil.sys image file in C:\ root folder from deletion which grows as large as 40% of RAM.

Using this method

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power] "HibernateEnabled"=dword:00000000

disables Fast boot as well but also releases hiberfil.sys to be deleted (although you have to do it manually after enabling to Show system files). As a side effect it also removes Hibernate option from Windows power menu which may be beneficial or detrimental depending wether you use it manually or not.

midncircus avatar May 28 '25 00:05 midncircus

If the goal is to disable hibernation completely, a better way to do it with this command (needs to run elevated):

powercfg -h off

As a bonus, it deletes the hiberfil.sys file automatically.

homandr avatar Jul 28 '25 02:07 homandr