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

Windows 2000 - Delete the swap file on shutdown

November 25, 2013
Updated: December 6, 2023
Quick overview:

The swap file is the so-called virtual working memory of Windows 2000, 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 overwrite the so-called page file with zeros every time it shuts down.

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 called 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.

NOTE FOR NEW PUBLICATION: This article was produced by Sandro Villinger and comes from the Windows Tweaks archive, which has been built up since the late 1990s.

Founded Windows Tweaks as a teenager in the 90s. His helpful PC tricks made it Germany's most visited Windows site (back then this is what Sandro looked like). He then went on to write elsewhere, such as for PC-Praxis, Computer Bild and PCWorld in the USA. Microsoft also poached him from us. Now Sandro is back, finally sharing his tweaks here again. For a stress-free digital everyday life. 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 nerves with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

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

Subscribe to our newsletter, receive only our best tutorials & tweaks and exclusive tips for our subscribers. 
Newsletter form
Can be canceled at any time. About 1 - 2 mails per month. The consent includes the 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