Clearing the Windows Page File
If you want to clear the Windows page file during shutdown then you will need to perform the following edit to the Windows Registry.
The key you need to edit is in the following location:
“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management”
Double-click on “ClearPageFileAtShutdown”. You then need to set the value to 1.
Alternatively if you don’t want to clear the page file during shutdown, then just ensure that this value is set to 0.
