Pagefile.sys

I use Windows XP, my HD is 150 GB. But Defraggler is not defragging Pagefile.sys for the last couple of days.

It defrags all the remaining disk, but it lives ONE file, two fragments for 3 Gb of the Pagefile.sys file.

Previously all the files where de-fragmented.

Can you help me?

Try Defraggler's boot-time defrag (Settings >> Boot-time defrag >> Run Once).

If it doesn't work, try Mark Russinovich's PageDefrag : http://technet.microsoft.com/en-us/sysinternals/bb897426.aspx

Thank you for your prompt reply. I will try the first suggestion, and if it does not work, I will try the secind one.

Regards.

I'm also on XP, and I've never defragged the Pagefile in x number of years.

I disable it, reboot, defrag the drive, enable the Pagefile again, and reboot again. I've never had a reason not to just bin the Pagefile, and IMHO it's a better way to try get it back into one piece.

Also set the min and max size of the Pagefile the same, and this lessens the chances of it becoming fragmented.

Just thought I'd throw that in as an option.

:)

EDIT: I've just then taken a few minutes to do this, and this is the result:

This is my preferred method to, and I turn off Hibernation to so hiberfil.sys is removed & recreated after defragging.

If you don't have plenty of RAM, then you can create new pagefiles in another filesystem (Drive partition) and setting min & max to same size forces Windows to pre-allocate the space in one piece.