Friday, August 1, 2008

Enable Disk Defragmentation on boot

Microsoft Windows XP can do a boot defragment. This places all boot files next to each other on the disk to allow for faster booting.
By default this option is enabled but on some builds it is not so below is how to turn it on.
Modify the following registry values:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
Change the value of "Enable" to Y to enable and N to disable.
Reboot your computer.

Also see HKEY LOCAL MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters and EnablePrefetcher = 1 application launch prefetching, 2 boot prefetching
add the numbers.
AND
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\ "Enable"="Y" (Y = defrag will optimize for boot and app launch)

No comments: