Clear the PageFile on shutdown

Operating System Tips, Tricks and Hack which include Windows 10 and others, CentOS, Linux, MAC OS, iOS
Post Reply
ar
Ultimate Contributor
Ultimate Contributor
Posts: 6666
Joined: Feb 17, 2007
Location: Pakistan, Lahore
Contact:

Clear the PageFile on shutdown

Post by ar » Oct 29, 2008 Views: 908

Clear the PageFile on shutdown

The Pagefile.sys is used for the Virtual Memory of Windows (compensates RAM).

Clearing it make your system more secure (temporary data may be written in the pagefile.sys and accessed without having administrator privileges).


To enable this, go to Start - ‘Run’ and type regedit.exe.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and double click the ClearPageFileAtShutdown key.


Change it value to 1 in decimal. Restart your computer.

Post Reply

Return to “Operating System Tricks”