Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows XP - Delete the swap file on shutdown

February 13, 2013
Updated: April 14, 2022
Quick overview:

Die Auslagerungsdatei ist der sogenannte Virtuelle Arbeitsspeicher von Windows XP, für den Fall, dass der Arbeitsspeicher knapp wird. Wenn aber ein Programm abstürzt bleiben Überreste in der Auslagerungsdatei. Dadurch fragmentiert diese Datei und der Zugriff darauf wird langsamer. Sie können aber veranlassen, dass Windows bei jedem Shutdown die sogenannte Pagefile mit Nullen den bisherigen Inhalt überschreibt.

1. Click on Start > Run and type regedit in the command line. Navigation is similar to Windows Explorer. Go to the following values in sequence 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 enter a 1 (without quotation marks).

Hinweis: Die Windows-Auslagerungsdatei sollte einen festen (großräumigen) und durchgehenden Platz auf der Festplatte benötigen. Es ist daher zu zu empfehlen die Auslagerungsdatei komplett auszuschalten (den Weg dazu finden Sie hier, Sie müssen lediglich Keine Auslagerungsdatei anwählen). Defragmentieren Sie nun Ihre Festplatte z.B. mit O&O Defrag V6, damit eine grundlegende Ordnung und Struktur in Ihr Dateisystem Einzug hält. Aktivieren Sie nun, wie in oben genannter Anleitung, die Auslagerungsdatei wieder und stellen Sie diese auf den gewünschten Wert. Die Auslagerungsdatei wird an einem Stück ans Ende Ihres Dateisystems verschoben - die Defragmentierung der Auslagerungsdatei (auch PageFile geschimpft) ist nun Vollbracht. Der Weg des Schreib-/Lesekopfes der Festplatte ist möglichst gering und eine leicht spürbare Leistungssteigerung wartet auf Sie.

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2025 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu