Are you running out of hard drive space? The hard disk space problem can occur when the size of the Hiberfil.sys and Pagefile.sys files are too large. These are two hidden files on drive C, and often deleting them can help free up hard drive space considerably.
Although buying a new hard drive can be a permanent solution, it can be expensive and that's when you can try to remove the Hiberfil.sys and Pagefile.sys files. Since these are Windows files, you may not be able to delete them directly which is why today we are going to show you how to delete these two files. Alternatively, you can also resize the paging file to expand the memory on your Windows 10 PC. Let's see how.
* Note - Deleting the Hiberfil.sys and Pagefile.sys files has a side effect, that is, it will increase the PC startup time and disable hibernation. Therefore, be very sure before proceeding with this solution.
How to view the Hiberfil.sys and Pagefile.sys files
Before proceeding with the methods, let's see how to view the two files: Hiberfil.sys and Pagefile.sys so that you can remove them.
Step 1: print Win + E keys together on the keyboard to open the file Browser on file.
Step 2: A Browser on file window, click What PC link on the left and right side of the panel, click Unit C.
Step 3: Now click on the file View tab at the top and click Choices.
4 phase: A Folder options window that opens, go to View tab and then on Advanced Settings section.
Below Hidden files and folders, click the radio button next to Show hidden files, folders and drives.
Step 5: Now scroll down and uncheck the box next to Hide protected operating system files (recommended).
print To apply and so ok to save changes and exit.
Step 6: Come back to Browser on file window and below Unit C, now you can see the two files - Hiberfil.sys e Pagefile.sys.
Now you can proceed with deleting the Hiberfil.sys and Pagefile.sys files.
Method 1: Disabling the Hiberfil.sys and Pagefile.sys Files
How to remove Pagefile.sys files
Step 1: Go to What PC (My computer) on the desktop, right-click on it and select Property.
Step 2: Open the System window. Go to the left side of the window and click Advanced system settings.
Step 3: A System properties dialog box that opens, below the file Advanced tab, go to Performance section.
Then click settings button.
4 phase: A Performance options select the window Advanced tab and under the Virtual memory click on Modify button.
Step 5: It takes you to Virtual memory window. Uncheck the box next to Automatically manage page file size for all units.
Now, click on the radio button next to No paging file and click Set to.
Step 6: A System properties warning message displayed, click Yup to confirm.
Now restart your PC and the file Pagefile.sys file in Unit C He has gone.
How to remove Hiberfil.sys file
Step 1: To go Home and write cmd in the Windows search bar.
Step 2: Now, right click on the result and select Run as administrator from the menu to open Symbol of the system with administrator rights.
Step 3: A Symbol of the system (administration), type the following command and press Log in:
powercfg.exe -h off
Once shut down, restart your PC and the file Hiberfil.sys the file is gone.
If this method doesn't free up hard drive space, you can try changing the page file space. Let's see how.
Method 2: change the file space of the page
You can change the page file space to the same value for the minimum and maximum file size or increase the page file size if the system appears to be running at a slower speed than before.
To know how to change paging file size which helps to increase memory in Windows 10, you can refer to this article.