Windows : Clearing the Page File on Shutdown

Clearing the Page File on Shutdown

Another way to set the computer to clear the pagefile without directly editing the registry is:
Click on the Start button
Go to the Control Panel
Administrative Tools
Local Security Policy
Local Policies
Click on Security Options
Right hand menu – right click on “Shutdown: Clear Virtual Memory Pagefile”
Select “Enable”
Reboot
If you want to clear the page file on each shutdown:

Start Regedit
Go to

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetContro lSession ManagerMemory ManagementClearPageFileAtShutdown

Set the value to 1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.