Today, we want to tell you how to clean the swap file in Windows 10, since this topic is very popular among inexperienced PC users, but unfortunately, not many of them can boast that they really understand why this area is being cleaned in the OS. That's why we are touching on this topic today and in a brief instruction / review, we will try to sort everything out from beginning to end.
Why do I need a swap file in Windows 10?
A swap file is a kind of backup amount of memory that the computer starts using from free disk space in the same way as RAM, but only in situations when RAM is enough for fast data processing. During such a metamorphosis, files that are not saved in the RAM for further processing are saved in the file - Pagefile.sys , which is actually called the "swap file" in the user community.
How is the swap file located in Windows 10?
The swap file in Windows 10 is not difficult to find, since it is located in the following path - C:\Pagefile.sys It is here that some files that are confidential to users can be saved, which means that you need to automate the cleaning process so that no one can use your information, and we will tell you about this below.
How to clear a swap file in Windows 10?
In fact, there is nothing difficult in setting up the system in such a way that the swap file Pagefile.sys it was cleared automatically and for this it is necessary to do the following: press Win+R → enter the command – regedit → in the registry editor that opens, you need to follow the following path - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management → double-click on - ClearPageFileAtShutdown → set the numeric value to "1" → click "Ok" → turn off the PC.