Secure your PC by clearing your Page file on shutdown
Gili | Jul 12, 2007 | Comments 8
Here’s a nifty tweak that can help you to secure your PC and protect your privacy by clearing your Windows Page file on shutdown.
The risk we face as PC users, is that non-Microsoft applications will write data (and even passwords) into the Page file in a non-encrypted format. In case that our PC is stolen, lost, or accessed by hackers, spyware or other intruders, that information stored in the page file is easily available for them to exploit.
The solution is relatively straightforward and consists of a simple modification that needs to be done to your PC registry.
Remember! If you use the registry editor incorrectly, you might cause serious problems that might require you to reinstall your operating system. Use the registry editor at your own risk.
Here’s how you implement the tweak (tested in Vista and Windows XP ):
[tags] Windows Vista, Vista, Windows tips, Windows Tricks, Windows XP, Registry [/tags]
We are on Facebook! Become a fan and get regular updates on the latest tips and tricks.
Filed Under: Windows Tweaks
You might want to look into these related tips and tricks:
- How to run multiple Yahoo Messenger concurrent sessions on one PC ?
- Windows Tips
- Your computer’s shutdown is slow ? Look at this cool hack.

I noticed my PC startup was getting slower day by day . After doing this it improved a lot .
[...] how you implement the tweak (tested in Vista and Windows XP and Yahoo Messenger [...]
Isn’t there a way to do empty the page file without the registry tweak. I seem to have read about it, but now I don’t remember it.
It is quite easy. you nicely explained it.
[...] tells us how to secure your PC by clearing Page file on Shutdown. Here’s a nifty tweak that can help you to secure your PC and protect your privacy by clearing [...]
[...] Clear Page file during Shut Down – Gili [...]
I think that’s a nice tip and deserves a link back.
Clearing the pagefile may be useful in a highly secure environment but is really only useful as part of a comprehensive security policy. For most systems this will do virtually nothing for security. Most systems have security risks that are far more serious than an uncleared pagefile.
Note: Clearing the pagefile has NO performance advantages whatsoever. It will lengthen shutdown times considerably on some systems.
Larry Miller
Microsoft MCSA