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: Does disabling pagefile.sys delete it from the system?

30 Dec 2011   #1
problemo

Windows 7 Home Premium 64-bit
 
 
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 securely delete the pagefile.sys? Would disabling pagefile.sys and then using Eraser to wipe free space work? Or is pagefile.sys simply hidden when it is disabled?


My System SpecsSystem Spec
.
30 Dec 2011   #2
gregrocker

 

It deletes the page file when you deselect it in Advanced System Options.

You can wipe the space using CCleaner's function that wipes empty disk space after running the Cleaner (to empty Recycle Bin), but to wipe the HD securely with Diskpart Clean All Command really requires removing all the data first.
My System SpecsSystem Spec
30 Dec 2011   #3
problemo

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
It deletes the page file when you deselect it in Advanced System Options.

You can wipe the space using CCleaner's function that wipes empty disk space after running the Cleaner (to empty Recycle Bin), but to wipe the HD securely with Diskpart Clean All Command really requires removing all the data first.
Thanks for the quick response.

After setting the pagefile to 16mb and restarting my computer, my screen kept flickering every 4 seconds? The original pagefile size was at 8GB. I also have 8GB physical RAM with quad core processor.

I also noticed the free space in C drive changed. This would mean if I wiped the free space with DOD algorithm (~360/685GB free space), the contents previously stored inside pagefile.sys would be unrecoverable? And the same would apply for hiberfil.sys?
My System SpecsSystem Spec
.

30 Dec 2011   #4
gregrocker

 

Likely.

I would let the system manage your page file.
My System SpecsSystem Spec
30 Dec 2011   #5
problemo

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
Likely.

I would let the system manager your page file.
Is there any reason why it might not?
My System SpecsSystem Spec
30 Dec 2011   #6
Qdos

 

Been running with no pagefile for ages, just letting it operate in RAM, no glitches... but obviously you do need enough memory installed to do that...
My System SpecsSystem Spec
30 Dec 2011   #7
JimLewandowski

 
 

Page file needed for system dumps (remote chance). But not a showstopper.
My System SpecsSystem Spec
30 Dec 2011   #8
seekermeister

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

For some reason, when I had it set to not use the page file, sometimes on boot, the OS would pop an alert, saying that it had a problem creating the page file in the allotted space, and that it made one on it's own, that may be larger than I had set. I never understood that, first because it was disabled, and second because I couldn't find a pagefile.sys, either in the partition I had previously created for that purpose, or on C:. Now that I have enabled it on it's own partition, the OS remains quiet.
My System SpecsSystem Spec
30 Dec 2011   #9
gregrocker

 

Quote   Quote: Originally Posted by problemo View Post
Quote   Quote: Originally Posted by gregrocker View Post
Likely.

I would let the system manage your page file.
Is there any reason why it might not?
If you set a size it will not be system-managed. I'd choose the System-managed option.

Does disabling pagefile.sys delete it from the system?-page.pngclick image to enlarge


My System SpecsSystem Spec
30 Dec 2011   #10
problemo

Windows 7 Home Premium 64-bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
Quote   Quote: Originally Posted by problemo View Post
Quote   Quote: Originally Posted by gregrocker View Post
Likely.

I would let the system manage your page file.
Is there any reason why it might not?
If you set a size it will not be system-managed. I'd choose the System-managed option.

Attachment 190716click image to enlarge
I meant to ask if there is any reason the contents inside pagefile.sys/hiberfil.sys (so far) would be recoverable after I disable it, then use free space wipe on C: drive? I am asking this because I have a Truecrypt container that I opened on my OS (without fully encrypting the partition). I don't want the password key or contents inside the container to be inside pagefile.sys or hiberfil.sys.
My System SpecsSystem Spec
Reply

 Does disabling pagefile.sys delete it from the system?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Pagefile placement on system booting from SSD
When I retired (23 weeks ago) I bought a PC that would probably last me the rest of my life. So I've ended up with a quad-core system with 16Gb RAM, a 128Gb SSD C: drive and a fast 1Tb D: drive. I just discovered that I have an 18Gb C:\pagefile.sys and started wondering about the pros and cons...
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
Unmoveable System Files other than pagefile and hiberfil?
I am trying to shrink a C:\ partition on a Dell R14 laptop running W7 Home Premium 64. I moved the pagefile to D, removed hiberfil.sys, and there are still files way out at 200GB somewhere in a folder, unmoveable by Perfect Disk. No Restore points; System Volume Information is empty. What...
General Discussion
Whenever I reboot windows makes a temp pagefile system
Hey I recently had a problem with reformatting a partition. It was solved by relocating the pagefile.sys. Now whenever I boot upon login it says the system has made a temp pagefile system. I try adjusting the size of the pagefile system to much more, less, or equal to amount of ram (4gb). ...
BSOD Help and Support
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
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 03:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App