First of all, this tweak only apply to those who only have one HDD on their primary IDE channel (nothing else on device 0 or 1) and a CD-ROM and/or DVD-ROM on the secondary IDE channel. Each time you boot Windows XP, there’s an updated file called NTOSBOOT-*.pf who appears in your prefetch directory (SystemRoot%Prefetch) and there’s no need to erease any other files as the new prefetch option in XP really improves loading time of installed programs.
Follow the following steps:
1. Open bloco de notas.exe, type “del c:windowsprefetch tosboot-*.* /q” (without the quotes) & save as “ntosboot.bat” em C: 
2. From the Começar menu, select “Run...” & tipo “Gpedit.msc“.
3. Double click “Configurações do Windows” under “Configuração do computador” and double click again on “Desligar” in the right window.
4. In the new window, click “add“, Assim, “Navegar“, locate your “ntosboot.bat” file and click “Abrir“.
5. Clique em “OK“, Assim, “Aplicar” and “OK” once again to exit.
6. From the Começar menu, select “Run...” and type “devmgmt.msc“.
7. Double click on “IDE ATA/ATAPI controllers“
8. Right click on “Primary IDE Channel” and select “Propriedades“.
9. Select the “Configurações avançadas” tab then on the device 0 or 1 that doesn’t have ‘device type’ greyed out select ‘none’ instead of ‘autodetect‘ & clique “OK“.
10. Right click on “Secondary IDE channel“, select “Propriedades” and repeat step 9.
11. Reboot your computer.
 
			