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 delete pagefile.sys?

19 Apr 2015   #1

Microsoft Windows 7 Professional 64-bit
Can I delete pagefile.sys?

I have a file on my ssd called pagefile.sys it is taking up 16gb on my ssd I wanna know if it would be troublesome to delete it? I know that when my ram is full windows stores data in this file however if I delete it to get the disk space back will windows just create another one and restart the process when my ram gets full. Or will deleting cause problems with my computer or with programs on my computer.

My System SpecsSystem Spec
19 Apr 2015   #2

Windows 7 Ultimate SP1 64 bit

Right-click My Computer,select Properties,go to Advanced system settings,click the Advanced tab and go to the Settings section.Click the Advanced tab and select Change in the Virtual Memory section.Deselect Automatically Manage Paging File Size for all Drives.Click Custom Size and enter a smaller value in the Initial Size (MB) and Maximum Size (MB) fields. Alternately, click No Paging File if you want to remove pagefile.sys entirely.Click Set. Click Yes if you receive a confirmation or warning window.Click OK to each of the windows to exit them.Restart your computer for the settings to become active.
My System SpecsSystem Spec
19 Apr 2015   #3

Win7 Pro-64 Bit

If you don't use hibernate on pc then you can disable it, that will give you your ram amount back on hard drive, in your case 16 gig of space.
Hibernate - Enable or Disable

I would leave some of the page file in place, just a gig or 2, but that's my own personal preference.
My System SpecsSystem Spec

19 Apr 2015   #4

Windows 7 Ultimate x64

You can probably disable the paging file altogether and never run into any problems, but i usually keep a small paging file (about 1 GB) on my root drive. (Windows uses this to write debug info in case of computer crash). And I let windows manage the size of the paging file on a secondary drive. (ideally you could make a separate partition for the paging file to avoid fragmentation, and set a maximum size).

To save some more valuable ssd space you could disable hibernation (if you don't use it), by opening an elevated command prompt and typing:

powercfg -h off
My System SpecsSystem Spec

 Can I delete pagefile.sys?

Thread Tools

Similar help and support threads
Thread Forum
How do I customize Win7 pagefile to work like WinXP pagefile?
Hi, Sorry if someone had asked this before, but I'm looking for a very specific answer. There are many threads of people asking about Win7 pagefile, but none talked about exactly what I'm trying to do. In WinXP, I like to set my pagefile to the minimum size and then let it grow when needed....
Performance & Maintenance
I can't delete pagefile.sys and System Volume Information
I had an additional Windows installation for testing purposes, on a different partition and now I want to delete everything associated with it because I need some free space. Although I managed to take ownership and delete the Windows folder and few others, I can't delete System Volume...
General Discussion
PageFile.sys & Hiberfil.sys - Delete Safe?
Hello SF, I just do a drive clean-up (Deleting some junk files to free some space on my HDD) I managed to see the HD stats what files did takes a lot of space in it using WinDirStat app... I removed some games that I no longer played in a while and some backup files that already made a...
Performance & Maintenance
Does disabling pagefile.sys delete it from the system?
For security reasons, I want to delete the contents stored inside pagefile.sys securely with very slim chance of recovering it. I thought about backing up my files and doing a reformat of my PC and then using Eraser to wipe free space. But this is a time-consuming method. What is the fastest way to...
General Discussion
How can I securely delete pagefile.sys and hiberfil.sys?
I run Windows 7-64 bit Home Premium and work on encrypted containers with TrueCrypt. I'm afraid that such sensitive information (including passwords) may be unencrypted on pagefile.sys or hiberfile.sys. How can I securely delete both of these files? I know there's a method in Windows 7 to delete...
General Discussion

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 17:04.
Twitter Facebook