This tech-recipe tells Microsoft Windows to clear the page file during reboot or shutdown. This article works for XP, Vista, and Windows 7.
The Windows page file contains the system’s virtual memory. Therefore, it could contain sensitive information including passwords. Many security experts suggest having windows clear the page file during shutdown.
This involves editing your registry. One should always export your current registry to backup and save it before editing.
Make this simple change:
Hive: HKEY_LOCAL_MACHINE
Path: SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Key: ClearPageFileAtShutdown
Type: REG_SZ
Value: 1