Skip to main content

Clear pagefile on shutdown

Posted August 2004 by Steve Sinchak

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 that were in memory and paged to disk.

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 require it:

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

  1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
  2. SelectClearPageFileAtShutdown 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.

Related Posts


If you own a Google Chromecast streaming device, you can easily share a browser tab in Chrome browser or even your entire desktop.  This can be very useful when presenting from your laptop or if you just want to watch something on a big screen that is only on your PC.  The only requirement is you must be on the same network as your Chromecast...

Read More

If you are a fan of minimalist desktop experiences, hiding the desktop icons are an easy way to clean up the Windows interface.  Instead of saving everything to your desktop, use the default profile folders such as downloads and documents.  Actually hiding all the icons on your desktop is a very simple customization hidden in the right-click context menu.  Just right-click on the desktop, select View...

Read More

Google security researchers have published details about a major security flaw found in the SSL protocol that is used to encrypt data transferred between your browser and a web server. SSL is typically used in situations where logon credentials are validated...

Read More

Enabling two-factor authentication is a great way to add an additional level of protection to your Microsoft account.  Even if your password is stolen, your account is still protected because two-factor authetication requires an additional level of verification to log in. Microsoft calls their version of two-factor authentication "two-step verification" and it works by providing you with a random code...

Read More