Virtual memory It's a system file (pagefile.sys) on which WinXP uses it to store dATES or files used by the user at a time. Usually, size pagefile.sys is determined by CAT RAM It is installed in the computer (at 512MB RAM, Pagefile will have 768MB, at 1GB RAM, Pagefile will have 1.5GB, etc.), but it can be increased or low by each user, as needed. Given that Pagefile.sys is an existing file on hdd, and the HDD is a magnetic storage - Unlike RAM, which is dynamic - The data stored in the virtual memory remain there until they are erased or rewrite over them and these data may contain Notable information for users like various parole (many applications have the stupid habit to send the information to memory without more vault, even if it can reach the pigeons from where it can be extracted under certain conditions), or, due to the agglomeration of data in Pagefile.sys, when starting Windows may occur Various errors and system performance is affected. To avoid these issues, it is recommended cleaning virtual memory periodically, as often as possible.
How can we clean pagefile.sys automatically, every Windows Shutdown
1. USING Registry Editor
- open regedit (Start->Search->regedit or Start->Run->regedit) and navigate to the way HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory Management
- In the right -hand panel search the entrance ClearPageFileAtShutdown and change its value from 0 in 1 (click-right->Modify)

2. USING Group Policy Editor (The method is not valid for the editions Windows Starter or Windows Home)
- open Group Policy Editor (taste GPEDIT.MSC in Run or in Searchthe from Start Menu)
- In the panel on the left side click on Computer Configuration->Windows Settings->Security Settings->Local Policies->Security Options
- Then in the right panel, double -click on Shutdown: Clear virtual memory pagefile, select Enabled and click on OK


3. USING Microsoft Fixed (download and run the executable)

Note: Activation of automatic cleaning of virtual memory at each Windows Shutdown increases the duration of shutdown by approximately ~ 30 sec. Tutorial tested on Windows 7 Ultimate, compatible with XP or Vista.