How can i defrag "pagefile.sys" and "hiberfil.sys"?

Hi i really tried to defrag this files, and get the O.S in the first part of my Hard Disk, How can i do that?

8718203261_9fd1dcfca3_b.jpg

Thanks a lot!!

Boot Time Defrag . . SrvJO9p.png . . defrags pagefile.sys

Windows locks hibernation from defragging. But you can cycle hibernation off, defrag drive, cycle hibernation back on.

Cycle hibernation off and on with MS Fixits 50466 and 50462.

or ► Start\ Accessories\ CommandPrompt\ Run as Administrator

To turn OFF type

powercfg -h off

To turn ON type

powercfg -h on

Hi, thanks a lot :D I have one more question. Is possible to put the O.S Files in the begin of the H.D with the Drefraggler?

Make sure you defragment your system every week or month using the MS Windows Defragmentation program. Then all your O.S. files will be put together in a special place on your harddisk. That will allow to Windows to reduce the start up time.

But, Defraggler don't do that for me?, Defraggler is better than Windows Defragmentation program, isn't it?

In other things, i have some problemas with Defraggler.

I tell defraggler that defrag the system in the Boot time, but I think it's not working, because the defraggler time is like 1 minute or less, it shows me: pagefile.sys in the drefragg files, but i don't think that it will take less than 1 minute, i think it should take more time, like 5 or 7 minutes at least.

Boot Time defrag takes only seconds for me.

@ambigus9: No, Defraggler is, in this regard, "much dumber" than the MS Windows Defragmentation program. DF simply puts (defragmented) files in the first free spot it can find.

If "boot time defrag" takes only a minute or less then one can assume your system is already optimized/defragmetated.

Yes, defraggler does not take into account prefetch files (layout.ini and .pf files) for optimal boot placement (yet). Windows Defragmenter does.

Why not the programmers make that Defraggler better than MS Windows Defragmentation program?

I mean, Why don't let that Defraggler optimize the files and that it take into account prefetch files (layout.ini and .pf files)?

I really love Defraggler, I really would like that it optimizate the O.S files from to the begin of the H.D. So, I ask you again, Why not?

I don't think Microsoft wants to reveal the secrets of the Windows optimization and share it with e.g. the Piriform developers.

Well, offcourse they don't want, but, the Piriform developers can deduce the Algoritms, don't they?,

In fact, I think they can read the original code, and learn how to defrag the S.O Files in the begin of the H.D

Well, may be, it's possible, othe question, Why I must to use Defraggler and not MS Windows Defragmentation program?, Any reason?

I don't think Microsoft wants to reveal the secrets of the Windows optimization and share it with e.g. the Piriform developers.

On Windows XP systems (I don't know about newer OSes) I use this undocumented command which works from Start->Run and in a Command Prompt. Also it doesn't require using the full blown Windows Defrag:

defrag -b c:

Also works this way too:

defrag c: -b

O.K, but Why Defraggler is better than MS Windows Defragmentation program?

I think it comes down to what you define as 'better'.

different strokes for different folks.

one person may like Windows Defragmenter, others may like Piriform Defraggler - all comes down to personal taste.

use what works best for your situation.

personally, I prefer DF for its speed. those options you spoke of (moving OS files to the end of the drive for example) have been brought up before as a reasonable suggestion.

but it has yet to be implemented (if ever).

instead the Dev Team felt a duplicate File Finder process was more worthy - aarrggghh.

instead the Dev Team felt a duplicate File Finder process was more worthy - aarrggghh.

File Finder is for CCleaner though. :P

Windows disk defragmenter is okay for common use but...

1. It's interface is too much a spartan one. It doesn't even have a drive map.

2. When running normally it always does a filling gaps operation that may take some time.

3. It's pretty slow on medium-big sized partitions with lots of files.

4. No options to tinker with.

5. No boot time defragmentation at all. So it won't defragment pagefile.sys or hiberfil.sys files either.

I think Piriform developer will implement boot files placement/optimization in a near future. Just be patient. And if not implemented, it's not a great loss either. Newer Windows versions boot fast even without defrag boot placement optimizations (Readyboot).

File Finder is for CCleaner though. :P

whoops, missed it by that much

Thanks a lot!! I think the only think that I would like Defraggler does is put the S.O files in the begin of the H.D and afeter those files, it'll put the most programs used by the user. I don't know, may be the Firefox files, or any browser, after that Office files, it's a suggestion offcourse :D. Something than complicated, it's possible???

So, from to put the S.O files for know, I must run de MS Winwos Defragmentation Program, right?

Certainly Defraggler does not yet do what you want.

Windows Disk Defragmenter also does not (from memory the last time I used it - years ago) let you choose where things go.

Optimise Drives (Win 8) also has no user controllable options.

They may auto-place things based on their own internal thoughts but I don't recall seeing options where the user can tell it where things go.