I am trying to increase hibernation file size but it says hibernation must be on or of

I need help 21 Reputation points
2021-04-21T17:53:20.013+00:00

I tried to do sfc /scannow and also disk cleanup.
Confirmed that hibernate mode is on in settings/power options
Sfc said no violations found

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,012 questions
No comments
{count} votes

Accepted answer
  1. Jenny Feng 13,666 Reputation points
    2021-04-22T02:17:36.46+00:00

    @I need help
    Hi,
    To see the size of the current hibernation file, open a Command Prompt window and type the command
    dir c:\hiberfil.sys /ah
    To configure hibernation, you need to use the Powercfg command with the /h (for hibernation) switch. Open a Command Prompt window as an administrator and use any of the following commands:

    Powercfg /h on This command enables the hibernation feature. To disable hibernation, change the parameter to off.
    Powercfg /h /type reduced If you want to use the Windows Fast Startup feature but never need to hibernate, change the hibernation file type to reduced, which uses a fraction of the disk space of a normal hibernation file. To restore the hibernation file, change the /type parameter to full.
    Powercfg /h /size nn Use this command to turn on hibernation and define the size of the hibernation file as a percentage of installed memory. In place of nn, enter a number between 40 and 100. Avoid setting this number so small that you're unable to fit the current contents of memory into the hibernation file.

    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

1 additional answer

Sort by: Most helpful
  1. Darrell Gorter 346 Reputation points
    2021-04-21T20:17:26.76+00:00

    Hello,
    Open a elevated CMD prompt
    run powercfg /A
    this should show the available sleep states on the machine.

    You can runmomg
    Powercfg /hibernate On
    this enables hibernation
    See powercfg /hibernate /?
    for options regarding setting the size of the hiberfile