TECHNOLOGY UPDATES

Monday, October 22, 2007

How to clear windows paging file at shutdown ?



Windows uses this file as virtual memory / extra ram. 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,

Do the following registory change for the result.

(backup your registory before editing )

A ) Start the registry editor (regedit.exe)

B) Move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management


c) If the value ClearPageFileAtShutdown does not exist, from the Edit menu select New - DWORD value and enter a name of ClearPageFileAtShutdown

e) Double click on ClearPageFileAtShutdown and set to 1

f) Reboot the machine and next time you shutdown the pagefile will be cleared

No comments: