Share this page : facebooktwitterlinkedinmailfacebooktwitterlinkedinmail
Case 1.

Hiberfil.sys is the file used to store system state when Windows is in hibernation mode, it may take you a couple of GBs if you have a big RAM.

  • To turn it off, so you can delete the hiberfil.sys.

hibernate -h off

– hibernate [on|off]

– h [on|off]

Enables or disables the hibernate feature. Hibernate timeout is not supported on all computers.

Example:  powercfg -h on

 

Case 2

To list the available power schemes:

list

l

Lists all power schemes in the current user’s environment.

Example:

powercfg -list

 

Case 3

To display the content of the power scheme

query [Scheme_GUID] [Sub_GUID]

q [Scheme_GUID] [Sub_GUID]

Displays the contents of the specified power scheme.

 

Case 4

To change a setting value in the current power scheme

change settingvalue

x setting value

Modifies a setting value in the current power scheme.

Usage:

powercfg –x setting value

setting

Specifies one of the following settings:

monitor-timeout-ac minutes

monitor-timeout-dc minutes

disk-timeout-ac minutes

disk-timeout-dc minutes

standby-timeout-ac minutes

standby-timeout-dc minutes

hibernate-timeout-ac minutes

hibernate-timeout-dc minutes

value

Specifies the value in minutes.

Example:

powercfg -change -monitor-timeout-ac 5

This sets the monitor idle timeout value to five minutes when operating on AC power.

 

 

Case 5

Set a power scheme active on the computer

-setactive Scheme_GUID

-s Scheme_GUID

Makes the specified power scheme active on the computer.

Usage:

Powercfg –setactive Scheme_GUID

Scheme_GUID

Specifies the scheme GUID.

Case 6

Delete a scheme with the specified GUID

-delete GUID

-d GUID

Deletes the power scheme with the specified GUID.

Usage:

Powercfg –delete GUID

GUID

Specifies the GUID of the scheme. Obtained by using the -list option.