Skip to content

Instantly share code, notes, and snippets.

@mamedshahmaliyev
Created May 28, 2020 06:18
Show Gist options
  • Save mamedshahmaliyev/02b0a3983612ce53db25a21ff3fdd453 to your computer and use it in GitHub Desktop.
Save mamedshahmaliyev/02b0a3983612ce53db25a21ff3fdd453 to your computer and use it in GitHub Desktop.
windows hibernation commands
# enable hibernate
Powercfg /h on
# disable hibernate
Powercfg /h off
# specifiy hibernation file size as percentage of total RAM (between 50 and 100)
Powercfg /h /size nn
# view hibernation file size
dir c:\hiberfil.sys /ah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment