Hi.
I want to share with you some ideas about optimizing my Windows-XP system volume C: from Windows-PE.
Why windows-pe? Windows-pe is a great emergency boot os based on windows vista. it is small (approx 200kByte on my usb stick) , configurable and free of any costs. All files on drive C: can be optimized from windows-pe as posible from a boot time defragger.
The boot file optimization only works when MyDefrag finds
c:\windows\prefetch\layout.initherefore i copy this file from c: to my ramdisk before i start MyDefrag
md %windir%\prefetch
copy c:\windows\prefetch\layout.ini %windir%\prefetch\layout.ini
Anyway MyDefrag does not touch some files. for instance:
c:\windows\system32\config\*.logYou might want to delete those files to optimize defrag results.
attrib -h c:\WINDOWS\system32\config\*.LOG
del c:\WINDOWS\system32\config\*.LOG
finally i start MyDefrag ... to run overnight

start mydefrag -r slowoptimize.myd c: -u "eigene dateien"
here the entire Script
DefragPE.cmd@echo off
rem this script should be used from Windows PE to slow optimize system disk c: =================
rem Disk c: should be mounted as C: in Windows-XP and Windows-PE
rem
rem copy layout.ini to allow boot file optimization --------------------------------------------
rem
md %windir%\prefetch
copy c:\windows\prefetch\layout.ini %windir%\prefetch\layout.ini
rem delete system logs to avoid fragmented files -----------------------------------------------
rem
attrib -h c:\WINDOWS\system32\config\*.LOG
del c:\WINDOWS\system32\config\*.LOG
rem start mydefrag -----------------------------------------------------------------------------
rem
start mydefrag -r slowoptimize.myd c: -u "eigene dateien"
Any improvements welcome
