Sharing Knowledge | System Admin Articles

Clear page file in XP/Windows 7 at shutdown (pagefile.sys)




To save on RAM, Windows uses your Page File as a sort of cache. 
Clearing the Windows paging file (Pagefile.sys) during the shutdown process, so that no unsecured data is contained in the paging file when the shutdown process is complete. 

Note: If you enable this feature, the shutdown time may be increased.


To Clear the page file in windows XP and Windows 7 during shutdown of PC,
Click Start --> Run --> Type "regedit"
This will explore Windows registry editor. Navigate the following registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management 
Change the data value of the key ClearPageFileAtShutdown value in the following registry key to a value of 1:
This setting allows inactive Pages in the Paging File to be cleared (overwritten with zeros) during shutdown. 



Labels: Windows

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Clear page file in XP/Windows 7 at shutdown (pagefile.sys)"

What do you think about this Article? Add your Opinion..!

Back To Top