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

Defragment the Windows registry

It is no secret that some defragmenters prefer to ignore the registry and other system data in their work. As a matter of fact, this stems from their constant employment with office processes, as a result of which files are blocked by the operating system.

Of course, many of our readers can importantly counter that their newfangled Windows XP can optimize system data on its own. I agree. But, as you know, the breadth of our publications under the heading "RTFM" is in no way limited to the framework of one operating system, so we will look for a more universal solution.

Following the principle of "Search, find, and also not 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 not only the registry and system data in any way, but also the paging file and hibernate files.

As shown in the screenshot, PageDefrag informs the user about fragmented files and also provides a couple of working modes for selection: one-time defragmentation at the next boot of the operating system (Defragment at next boot) or optimization at every start of Windows (Defragment every boot). to disable the final option, use the Don't defragment (uninstall) option.

Please note that by choosing optimization at each system boot, it is possible to set the timeout period (in seconds) during which it is allowed to manually cancel the defragmentation process.

And also the final moment. PageDefrag's work is responsible, therefore, any unforeseen failure during its operation can lead to rather disastrous consequences. In order not to overturn bitter tears later, 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 at the command line, copy all registry branches to the all.reg file.

2. Use the backup program also to resume the system (Start -> Programs -> Accessories -> Utilities -> Data Archiving), which is included in the standard package of many Windows operating systems.

3. Adopt a specialized program, for example, jv16 PowerTools 2005.