Using freeware utility SafeXP is the fastest (screenshot). Or other:
Code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001
Code:
Start - Run - secpol.msc - Local Policies - Security Options - Shutdown: Clear virtual memory pagefile.