Make sure you create a backup of your registry first.

Instructions:

  1. Press Start button
  2. Press "Run.."
  3. Type regedit
  4. Doubleclick with left mousebutton "HKEY_LOCAL_MACHINE".
  5. Find "System \ CurrentControlSet \ Control \ Session Manager \ Memory Management"
  6. Doubleclick with left mousebutton "ClearPageFileAtShutdown".
  7. Type 1 i the field "Data"