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

DaStreet

New member
Local time
9:27 AM
Messages
2
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 Computer My Computer

At a glance

win7 ultimateAMD FX-835032gbNVIDIA GeForce GTX 650 Ti
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
win7 ultimate
CPU
AMD FX-8350
Motherboard
Sabertooth 990FX R2.0
Memory
32gb
Graphics Card(s)
NVIDIA GeForce GTX 650 Ti
Hard Drives
a couple of harddrive
2SSD 250 and 32gb
2 others
Antivirus
F-Secure
Browser
Chrome
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 Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
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 Computer My Computer

At a glance

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Customs, Dell, Gateway, HP, Toshiba, Acer, ASUS
OS
Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
Keyboard
Microsoft
Mouse
Microsoft
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 :)
 
Last edited:

My Computer My Computer

At a glance

Windows 10 Pro x64Intel Core i7 6700KGSkill TridentZ RGB 16GB 3600 16-16-16-36EVGA GTX 980 Ti SC x2
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Skylake Special #666
OS
Windows 10 Pro x64
CPU
Intel Core i7 6700K
Motherboard
Asus Sabertooth Z170 Mark 1
Memory
GSkill TridentZ RGB 16GB 3600 16-16-16-36
Graphics Card(s)
EVGA GTX 980 Ti SC x2
Sound Card
Realtek High Definition
Monitor(s) Displays
AOC G2460PG
Screen Resolution
1920 x 1080 144Hz
Hard Drives
Samsung 860 Pro 256GB, Seagate Barracuda 4TB x2
PSU
EVGA 1000 P2, EVGA White Custom Braided Cables
Case
Corsair Vengeance C70 Gunmetal Black
Cooling
Corsair H100i v2, Corsair ML120 x2, Thermal Grizzly Kryonaut
Keyboard
Logitech G910 Orion Spectrum
Mouse
Logitech G700s
Internet Speed
Verizon Fios Quantum Gateway 75/75
Antivirus
Windows Defender, Malwarebytes Free 3.8.3
Browser
Chrome
Other Info
Corsair SP120 x4, LG Blu-ray Drive, Durabrand HT-395 100 Watt Dolby Digital Amp, Corsair H2100 Wireless 7.1 Headset
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 Computer My Computer

At a glance

Vista, Windows7, Mint Mate, Zorin, Windows 8from 1.6GHz Duo to i7
Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
ok i think im gonna keep a couple of gig, thanks guys
 

My Computer My Computer

At a glance

win7 ultimateAMD FX-835032gbNVIDIA GeForce GTX 650 Ti
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
win7 ultimate
CPU
AMD FX-8350
Motherboard
Sabertooth 990FX R2.0
Memory
32gb
Graphics Card(s)
NVIDIA GeForce GTX 650 Ti
Hard Drives
a couple of harddrive
2SSD 250 and 32gb
2 others
Antivirus
F-Secure
Browser
Chrome
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 Computer My Computer

At a glance

Win 7 Ultimate 64 bitIntel i7-3930KKingston HyperX Genesis 32GB Kit (8x4GB Modul...MSI R7850 Twin Frozr 2GD5/OC Radeon HD 7850 2...
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Win 7 Ultimate 64 bit
CPU
Intel i7-3930K
Motherboard
ASUS P9X79 WS
Memory
Kingston HyperX Genesis 32GB Kit (8x4GB Modules) 1600MHz DDR
Graphics Card(s)
MSI R7850 Twin Frozr 2GD5/OC Radeon HD 7850 2GB 256-bit GDDR
Sound Card
Asus Xonar Essence STX
Monitor(s) Displays
3x Asus VG248QE 24", Vizio 32" TV
Screen Resolution
1920 x 1080, ?
Hard Drives
Samsung 128GB 840 Pro SSD (1),
Samsung 4TB 850 EVO SSDs (4)
Samsung 4TB 850 EVO SSDs (16) external backup drives used in 2.5" hot swap bays in the computer.
PSU
Corsair HX750w
Case
Antec Two Hundred v2 (modified)
Cooling
Cooler Master GeminII S524 120mm (fan replaced with a 140mm)
Keyboard
Logitech G510s
Mouse
Logitech M525 (two in use)
Internet Speed
=< 32Mbps down, 8Mbps up
Antivirus
AVAST!, MBAM, SAS, Spybot S&D (all but MBAM free) Glary Util
Browser
IE11
Other Info
LSI 9211-8i HBA card (8 SATA III ports), 2.5" & 3.5" Hot Swap Bays, HooToo HT-CR001 PCI-E to USB 3.0 Internal Hub + 6 Slot Card Reader, and LG Model CH12LS28 BD-ROM Optical Drive. Also, ScanSnap S1500 ADF duplexing scanner, Canon 9000F flat bed scanner, Corsair SP2500 2.1 speakers, Samsung CLP 415nw laser color printer, Cyberpower PP2200SW UPS
Back
Top