Quick overview:
The swap file is the so-called virtual working memory of Windows XP, in case the working memory runs out. However, if a program crashes, remnants remain in the swap file. As a result, this file fragments and access to it becomes slower. However, you can arrange for Windows to save the so-called Pagefile overwrites the previous content with zeros.
1. Click one after the other on Start > Execute and type it into the command line regedit in. Navigation is similar to Windows Explorer. Go to the following values one after the other HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management.
2. You will now see various lines in the right-hand pane. Double-click on the value ClearPageFileAtShutDown and are now wearing a 1 (without quotation marks).
Note: The Windows swap file should require a fixed (large) and continuous space on the hard disk. It is therefore recommended to switch off the swap file completely (you can find the way to do this in hereYou only need to No swap file select). Now defragment your hard disk, e.g. with O&O Defrag V6so that a basic order and structure is introduced into your file system. Now reactivate the swap file as described in the instructions above and set it to the desired value. The swap file is in one piece to the end of your file system - the defragmentation of the swap file (also known as PageFile) is now complete. The path of the read/write head of the hard disk is as short as possible and a slightly noticeable increase in performance awaits you.

On Windows Tweaks you will find time-saving tech guides for PC, software & Microsoft. For a stress-free digital everyday life. Already we have been "tweaking" Windows since 1998 and just won't stop!