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

Windows XP - Avoid errors via the swap file

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

You may be interrupted during your work with Windows by an error message stating that the Swap file is either too small or does not exist, although you have made the swap file large and it is actually there. The remedy in this case is an intervention in the registry.

Error message about swap file Part I

1. First click on Start and then go to Execute. A small command line appears in which you can enter the word regedit and click on OK confirm.

2. You will now see the Windows registry in front of you, which you can browse through like your hard disk. Now navigate one after the other to HKEY_LOCAL_ MACHINE\ SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and double-click in the right-hand pane on PagingFiles.

3. You will now see a text in the pop-up window that appears, e.g. C:\pagefile.sys 384 768. Now increase the value so that at the end the line C:\pagefile.sys 512 1024 reads. This should be sufficient in any case. If the message still appears, you can also go up step by step.

4. After they have been OK confirmed, Regedit and restarted Windows, this message is a thing of the past.

Error message about swap file Part II

If the above solution does not work, I have another way to effectively eliminate this inconvenience.

1. Go through the first 2 steps from above and search in the right-hand pane only for a value called TempPageFile.

2. If it exists, you must now select and delete it.

After a restart, the message has finally disappeared from the screen.

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 (at the time Sandro looked like this). He then went on to write elsewhere, for example 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
EN