Author Topic: Windows Defrag.exe  (Read 25234 times)

Chris

  • Administrator
  • Jr. Member
  • *****
  • Posts: 91
    • www.hofmannc.de
Windows Defrag.exe
« on: January 28, 2011, 09:30:32 PM »
Die Defrag.exe (voller Name: "Windows Disk Defragmenter") ist auf Windows XP vorinstalliert. Das Programm hat keine Benutzeroberfläche und wird i.d.R. alle drei Tage, wenn das System im Leerlauf ist, automatisch ausgeführt.

Da die automatische Defragmentierung im Test-System abgeschaltet wurde, wird diese nun mit dem Setzen des Registry-Wertes "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction\Enable" auf "Y" wieder aktiviert und anschließend mit "rundll32 advapi32.dll, ProcessIdleTasks" initiiert. Die Defrag.exe wurde dann automatisch mit den Parametern "-p 448 -s 000005B8 -b C:" ausgeführt.

Laufzeit 1:09 Minuten
Geschriebene Daten 0,65 GB
Benötigter Arbeitsspeicher 28,4 MB
   
Kann die MFT defragmentieren Nein
Kann die Auslagerungsdatei defragmentieren Nein
Kann Verzeichnisse vereinigen Nein
Kann Prefetch-Dateien nutzen Ja

Anhand des Screenshots ist deutlich zu erkennen: Das Programm kümmert sich ausschließlich um die Prefetch-Dateien, sonst nichts. Zudem werden diese hinter alle anderen Dateien geschrieben, anstatt an den Anfang des Laufwerks.

/

The Defrag.exe (full name: "Windows Disk Defragmenter") is pre-installed on Windows XP. The program has no user interface and is normally run automatically every three days, if the system is idle.

Since the automatic defragmentation was switched off in the test system, it is now reactivated again by setting the registry value "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction\Enable" to "Y" and then initiated with "advapi32.dll rundll32, ProcessIdleTasks". The Defrag.exe was then automatically executed with the parameters "-p 448 -s 000005B8 -b C:".

Runtime 1:09 minutes
Data written 0,65 GB
Memory used 28,4 MB
   
Can defragment the MFT No
Can defragment the pagefile No
Can consolidate directories No
Can use prefetch files Yes

Based on the screenshots can be seen clearly: The program deals exclusively with the prefetch files, nothing else. In addition, these written after all other files, rather than to the beginning of the drive.



Statistiken / Statistics: download

MyDefrag nachher / after:
« Last Edit: February 28, 2013, 07:50:28 PM by Chris »
sometimes I believe compiler ignores all my comments