First, Control Panel->Power Options->Select the function of the power button
Generally, there will be a button labeled Hibernate here, if available, open it directly, if not, continue reading
Start Menu->Windows System->Command Prompt (right-click to open as administrator)
Enter powercfg /hibernate on
theoretically should enable hibernation
(can be changed to off to disable hibernation)
If an error occurs, please follow the information for troubleshooting:
If displayed:
Hibernate failed, error as follows: The request is not supported.
The following items prevent the hibernation operation of this system.
Internal system components have disabled hibernation.
Protected host
Control Panel->Programs and Features->Turn Windows features on or off
Turn off the Protected Host item
Then restart
If displayed:
Hibernate failed, error as follows: The request is not supported.
The following items prevent the hibernation operation of this system.
System firmware does not support hibernation.
Upgrade system firmware (such as BIOS and drivers, etc.)
Or execute the following command to modify the system file size
powercfg h size 40