If you prefer using newer terminal environments, you can use the exact same toolset inside PowerShell.
How to Disable Hibernate in Windows 11 To , you need to execute a single command in an elevated command prompt. disable hibernate windows 11