Can I change the path and directory of the "hiberfil.sys" on Windows 8 due to reduce my C:\ ...

explanation

Hiberfil.sys is a system file in Windows 8 that stores the contents of a computer’s RAM in a file on the hard drive when the computer is put into hibernation. This allows the computer to quickly resume from hibernation, as the system does not need to reload the RAM from scratch. It is stored in the root directory of the system drive by default.

It is possible to change the path and directory of the hiberfil.sys file in Windows 8, but the process is somewhat complex and requires a few steps. First, the user must open the command prompt as an administrator. To do this, press Windows+X, select “Command Prompt (Admin)” from the menu, and then click “Yes” in the UAC dialog that appears.

Next, the user must type the following command in the command prompt:

powercfg -h off

This will disable hibernation in Windows 8 and delete the existing hiberfil.sys file.

The user must then create a new directory on the hard drive wherever they want the hiberfil.sys file to be stored. For example, if the user wanted to store the hiberfil.sys file in the D:\\ directory, they would type the following command in the command prompt:

mkDIR D:\\hiberfil

Once the directory is created, the user must then set the new path for the hiberfil.sys file. To do this, they must type the following command in the command prompt:

powercfg -h -file %systemdrive%\\hiberfil\\hiberfil.sys

This will set the path of the hiberfil.sys file to the newly created directory.

Finally, the user must enable hibernation by typing the following command in the command prompt:

powercfg -h on

This will create a new hiberfil.sys file in the directory that was specified.

By following these steps, the user will be able to change the path and directory of the hiberfil.sys file in Windows 8. It is important to note that the user should not delete or modify the hiberfil.sys file in any other way, as this can cause instability and other issues with the computer.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo