This page has been robot translated, sorry for typos if any. Original content here.

Defragmenting the Windows registry

It is no secret that some defragmenters prefer to ignore the registry as well as other system data. As a situation, this results in their ongoing employment by service processes, as a result of which files are blocked by the operating system.

Of course, many of our readers may need to parry that their new-fangled Windows XP is able to optimize system data on its own. I agree. But, as you know, the breadth of our publications under the heading "RTFM" is not limited to the framework of a single operating system, so we will look for a more universal solution.

Following the principle of "Search, find also never give up" we managed to find a suitable utility called PageDefrag. The brainchild of Mark Russinovich (Mark Russinovich) occupies only 96 KB of disk space, does not require installation, and can work from the command line. In addition, the program optimizes in any way not only the registry also system data, but also the paging file also hibernate-files.

As shown in the screenshot, PageDefrag informs the user about fragmented files also provides for selecting a pair of work modes: one-time defragmentation on the next boot of the operating system (Defragment at next boot) or optimization on every Windows start (Defragment every boot). To disable the final option, the option don't defragment (uninstall) is used.

Please note that by selecting the optimization each time the system is booted, it is possible to set another time-out (in seconds) during which it is allowed to manually cancel the defragmentation process.

And also the final moment. The labor of PageDefrag is responsible, therefore any unforeseen failure during its operation can lead to rather pitiable consequences. In order not to pour bitter tears afterwards, it will be useful to first create a backup copy of the registry. There are several ways to do this:

1. Export using the registry editor (Start -> Run ... -> regedit), or by typing regedit / E c: \ all.reg in the command line, copy all registry branches to the file all.reg.

2. Use the archiving system also system resumption (Start -> Programs -> Standard -> System Tools -> Data Archiving), included in the standard package of many Windows.

3. To adopt a specialized program, for example, jv16 PowerTools 2005.