However Microsoft has implemented a feature that will clear the page file but they do not have it enabled by default.Â Please note, this will slightly increase the amount of time it takes to shut down your computer but it is well worth it.
Start Regedit.Â If you are unfamiliar with regedit please refer to our FAQ on how to get started.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Select ClearPageFileAtShutdown from the list on the right.
Right on it and select Modify.
Change the value to 1 to enable.
Reboot your computer.
I am not sure what it does to the pagefile but it seems to effect its size not one iota! Its the shutdown part that is really annoying- at least twice as long - so what I would like is to set it up to its inial value
So what is its initial value (I take it a 0 but I'm not sure)..