Comments
Item
Clear pagefile on shutdown
Published 8/25/2004 in Windows XP Security Tweaks by TweakXP Member with 5,858 views

While it is generally not necessary for most users, some people want to clear the pagefile on shutdown. Windows uses this file as virtual memory / extra ram.  Lets say that you are working on a highly confidential MS Word doc.  When you load this document it is loaded into ram.  To save ram windows places certain items in the pagefile.  With some effort, the pagefile can then be opened and the document can be extracted as well as any other open program or files.  However Microsoft has implemented a feature that will clear the page file but they do not have it enabled by default.  Please note, this will significantly increase the amount of time it takes to shut down your computer. We don't necessarily recommend this tweak, but we offer you the option if you want it:

Start Regedit.  If you are unfamiliar with regedit please refer to our FAQ on how to get started.

  1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
  2. Select ClearPageFileAtShutdown from the list on the right.
  3. Right on it and select Modify.
  4. Change the value to 1 to enable.
  5. Reboot your computer.

Tip originally submitted by Webmaster

 
Free Computer Magazines
eWeek, RCR Wireless, Information Week, Business Week, Many More Free Magazines!

 
Comments
Larry Miller
Clearing the pagefile may be useful in a highly secure environment but this really only makes sense as part of a comprehensive security policy. It itself it is virtually worthless. Most systems have security risks that are far more serious than an uncleared pagefile.

Note: Clearing the pagefile has NO performance advantages of any kind. It will considerably lengthen shutdown times on some systems.

Larry Miller
Microsoft MCSA
321 days ago
 
Post a Comment

Name  

E-Mail  (Not Published)

URL