Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can I remove pagefile.sys and hyberfil.sys..?

30 Mar 2015   #1
DaStreet

win7 ultimate
 
 
Can I remove pagefile.sys and hyberfil.sys..?

Hi
I tried SpaceSniffer today and I found out that the two main "program" on my harddrive are pagefile.sys (31.9gb) and hiberfil.sys(23.9gb). I would like to know what are these files? Can I delete them?
I googled it but I got a lot of different answers.
I have 32gb of RAM so my guess is I dont really need 31.9gb for pagefile. How much space do I need? oh and how the hell can these two take 56gb of space?
thanks


My System SpecsSystem Spec
.
30 Mar 2015   #2
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

You can delete the hiberfile. The command is powercfg -h off

For the pagefile you need a minimum. I suggest you set it to 1GB.

They take 56GB of space because 32 plus 24 is 56, LOL. But seriously, they are used to store your whole RAM for hibernation or store a RAM dump in case of a BSOD. If you don't want/need these facilities, do what I suggested.
My System SpecsSystem Spec
30 Mar 2015   #3
Berton

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
 
 

Some program installations may balk if they don't find the paging file, if one wants a minimum I'll set it to 2GB. Personally mine on Win7 rests on both drives, 2GB on the 250GB C:/boot drive and 12GB on the 500GB D: drive. [8GB RAM]
My System SpecsSystem Spec
.

01 Apr 2015   #4
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

No, don`t delete them.

You do what Wolfgang said for the hyberfile and if you don`t want a page file, you simply turn it off.

I have not run a page file in over 2 years now with 16 GB, no issues ever, so far
My System SpecsSystem Spec
01 Apr 2015   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

I always keep a minimum pagefile of 1GB or 2GB. Maybe that's overkill but I think the system will allocate 400MBs per default anyhow.
My System SpecsSystem Spec
01 Apr 2015   #6
DaStreet

win7 ultimate
 
 

ok i think im gonna keep a couple of gig, thanks guys
My System SpecsSystem Spec
01 Apr 2015   #7
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

Windows recommends 800MB for the page file, which is what I have mine set at on my three machines I've been using, to ensure room for error messages, such as BSOD dumps. So far, no problems.

Be aware that removing the Hyberfil.sys file will disable Hibernate. I have to keep Hibernate enabled on my desktop machine, even though it is humongous (24GB), because my UPS uses it to safely shut down my computer without data loss when there is a power outage. I haven't bothered to disable it on my notebooks and I doubt I would gain much, if anything, if I did.
My System SpecsSystem Spec
Reply

 Can I remove pagefile.sys and hyberfil.sys..?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Moved Pagefile.sys to second HHD and old pagefile.sys still on primary
Hello all, I have a SSD which runs my windows 7 and other processing heavy programs and a secondary HDD which holds files. I've been reading up on making sure I can get the most life out of my SSD since there are limited read/write cycles on them. Therefore, I looked into moving my...
Performance & Maintenance
Writes to hyberfil.sys
Does Win 7 constantly write to the hyberfil.sys file or only when the computer is going into hibernation?The reason I ask is the only way my UPS can save my work before shutting down the computer in the event of a power failure is to hibernate it so, obviously, I need hibernate enabled, complete...
Performance & Maintenance
Hyberfil.sys Won't Stay Off After powercfg -h off, Disable in CP
I have turned of Hybrid Sleep, Hibernation in Control Panel. I have run "powercfg -h off" with Administrative Privileges. I am using Windows 7 Ultimate 64. I can delete hyberfil.sys after the above, but as soon as I reboot it is back. Can anyone help? Many thanks,
Performance & Maintenance
pagefile.sys
Hello. I have 2 x WD6400 AAKS. I have the pagefile.sys on my second hdd. With 3 GB DDR3 triple channel is it safe to disable the pagefile.sys ? What's the best settings ? Please give me some advices. Thanks.
Performance & Maintenance
Pagefile help
Hi guys. Today I did something that I am now regretting. I switched my pagefile to a second hard drive. I left 1 GB on the C: drive and set the D: drive to automatic values. I did this to try and solve a memory issue with Fallout 3. However, my computer has now been reduced to a slow...
Performance & Maintenance
pagefile & hyberfil
Just checked my system using windrstat and noticed my pagefile is 8 gig and the hyberfil is 6 gig. This system has 8 gigs of ram plus another 1 gig on the video card. This seems like a huge amount in particularly the pagefile given the amount of ram installed. My question is can I safely reduce...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:31.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App