Tuesday, October 12, 2010

Clear Page File at Shutdown

A pageFile is purely an Operating System concept,its a file in which paging takes place.
For non-technical people,i dont mind to say page file works as temporary memory,if we dont have sufficient memory in the RAM.

Most Often,it contains unnecessary files inside it,which was created while executing some program,but now its totally useless.We should not delete that file,because its very helpful if your system has got less RAM(say 512MB) like me.
One thing we can certainly do is,clean that pagefile  just before sytem shutdowns.

To see PageFile,
open c:\ -->go to tool-->folder option---> scroll down and check  show hidden files & folders
also uncheck hide protected operating system.clik apply.


Now observe some new files are visible inside c:\   out of them 1 is pagefile.sys.
Note:You may not find that file,if your pagefile option is not activated

How to clear pagefile
##################
Copy & paste the following code in notepad and save it as "ClearPageFile.reg".

**************************ClearPageFile.reg***************************************
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001
********************************************************************************

Once done,double-clik to add to your registry.Reboot

No comments:

Post a Comment