Clear Virtual Memory Pagefile

If you are using the Windows virtual memory for extra RAM, it can speed up your Windows whenever the RAM is cleared when you Shutdown your Windows.

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:

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

  6. Reboot your computer.
The next time you shutdown your computer, your Windows Virtual Memory Pagefile will automatically be cleared.

Back To:
GoToThings - Knowledge Sharing

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
The content on this site may not be reproduced or redistributed without the express written permission of 
 www.gotothings.com or the content authors.