Wednesday, 21 May 2014

Clearing the Page File for Every Restart





•Click Start
•Click Control Panel
•Click Administrative Tools
•Click Local Security Policy
•Click the "+" next to Local Policies which will expand it.
•Click on Security Options
•Now in the right side of the window you can find lot of policies and their security settings find the policy "Shutdown: Clear Virtual Memory Page file" and double click on it to open the Security setting properties dialog box.
• You can go through the explanation of it in the last tab.
• Select the "Enabled" radio button and
•Click OK.

Explanation:

Shutdown: Clear virtual memory pagefile

This security setting determines whether the virtual memory pagefile is cleared when the system is shut down.

Virtual memory support uses a system pagefile to swap pages of memory to disk when they are not used. On a running system, this pagefile is opened exclusively by the operating system, and it is well protected. However, systems that are configured to allow booting to other operating systems might have to make sure that the system pagefile is wiped clean when this system shuts down. This ensures that sensitive information from process memory that might go into the pagefile is not available to an unauthorized user who manages to directly access the pagefile.

When this policy is enabled, it causes the system pagefile to be cleared upon clean shutdown. If you enable this security option, the hibernation file (hiberfil.sys) is also zeroed out when hibernation is disabled.

Default: Disabled.