What Are Hiberfil.sys, Swapfile.sys, and Pagefile.sys, and How Do I Remove Them?

Published: 25 September 2023
on channel: Ask Leo!
5,020
260

✴️ Hiberfil.sys, pagefile.sys, and swapfile.sys are Windows system files that support two very important features: hibernation and virtual memory.

✴️ Removing hiberfil.sys, swapfile.sys, and pagefile.sys
To remove hiberfile.sys, turn off Hibernation and you can delete the file.

To remove swapfile.sys and/or pagefile.sys, turn off Virtual Memory on your system. The files may be removed automatically on reboot. Do this ONLY if you have enough RAM on your system. Alternatively, consider moving them to a different internal drive.

Updates, related links, and more discussion: https://askleo.com/3893

🔔 Subscribe to the Ask Leo! YouTube channel for more tech videos & answers: https://go.askleo.com/ytsub

✅ Watch next ▶ What Is Pagefile.sys? Can I Delete It? ▶    • What Is Pagefile.sys? Can I Delete It?  

Chapters
0:00 Hiberfil.sys, Swapfile.sys, and Pagefile.sys
0:40 Find the files
2:10 Turn hibernation off
3:40 Pagefile and swapfile
5:00 Get rid of the files
6:54 Use another drive
9:00 Best to leave them alone

❤️ My best articles: https://go.askleo.com/best
❤️ My Most Important Article: https://go.askleo.com/number1

More Ask Leo!
☑️ https://askleo.com to get your questions answered
☑️ https://newsletter.askleo.com to subscribe to the Confident Computing newsletter.
☑️ https://askleo.com/patron to help support Ask Leo!
☑️ https://askleo.com/all-the-different-... for even more!

#askleo #Hiberfil.sys #Swapfile.sys