
One can configure this automatic defragmentation of the computer with these registry keys:ĮnableAutoLayout = 0 (Optimize Programs=1, Disabled = 0, Default = 1)Įnable = “Y” (Optimize Booting=”Y”, Disabled = “N”, Default = “Y”) Note the generation of the Layout.ini and the partial defragmentation (dfrgntfs.exe) is automatically started when the computer is idle (or within every 3rd day). Note one can do a quick/partial defrag according to the Layout.ini, and only optimize the boot- and application- files for faster startup using Defrag.exe: Rundll32.exe advapi32.dll,ProcessIdleTasks The Layout.ini is by default generated automatically, but one can also force the generation with command (Will run for 1-10 min):
#Improve startup time xp full#
The Layout.ini is used when doing a full defragmentation where frequently used files are aligned for faster loading. The Prefetch-directory also contains a file Layout.ini, which is generated from the saved scenarios. Also if using AntiVira software, then this directory should be excluded to lower disc activity. Note it can be a good idea to clear the prefetch directory when having applied a service pack for Windows or other applications, so the optimizer will quickly adapt to the updated files.
#Improve startup time xp how to#
Note if deleting the contents of the prefetch directory, then it will loose all history of how to optimize the launch of application and will ruin the concept the prefetcher. The Task Scheduler notifies when a process has started, causing the prefectcher to start monitoring the first 10 secs of the process start, and then saves the recorded disk activity caused by the process in a *.pf file in the Prefetch-directory: If having less than 800 Mhz CPU and 512 MByte RAM, then one should consider only to enable the BootUp prefetcher. Note the Prefetcher is a service that runs in background and monitors disc and memory usage, and this monitoring requires CPU and RAM. Note if using other values like 5 or 6 then it will either disable the prefetcher or only activate one of the prefetching types. Windows Server edition will by default only enable the prefetcher to optimize bootup. Note Windows Home and Professional edition will by default enable the prefetcher for both Application and BootUp.


The behavior of the Prefetcher is controlled with this DWORD registry key:ĮnablePrefetcher = 3 (Disabled = 0, Application = 1, BootUp = 2, Application AND BootUp = 3) The Logical Prefetcher records disk usage in certain scenarios (Bootup and Application start), and when the same scenario reappear, it loads all the data needed for that scenario from disk to memory, before the data is requested. It is called the Logical Prefetcher and it can make boot time and application start time faster. Windows XP includes a new enhancement to the memory management.
