Windows Defragment

Discussion in 'Windows 10' started by Michael Lee Powell, Dec 2, 2017.

  1. Michael Lee Powell

    Michael Lee Powell MDL Novice

    Nov 25, 2017
    11
    2
    0
    A way to automatically defrag drives;

    Hi. I was wondering if there's a way to create an event that can automatically defrag a
    driver once it finds out that it get's fragmented? Like instead of manual defrag, it can

    be set to auto defrag..
     
  2. Michael Lee Powell

    Michael Lee Powell MDL Novice

    Nov 25, 2017
    11
    2
    0
    Cool, thanks. :)
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    16,846
    21,154
    340
    Afaik windows does that already, it is set to run in the background and it's called "optimize" in windows 10.
     
  4. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,094
    1,467
    60
    That's one thing Windows 10 seems to have gotten right.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Scottmorre

    Scottmorre MDL Novice

    Nov 29, 2017
    5
    0
    0
    What's the point of defragging drives?
     
  6. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,497
    2,131
    90
    For SSD, none. SSDs don't need to be "defragged".

    For spinning rust drives, "defragging" makes sense. By making files and directories contiguous and strategically placing them, head movements are minimized and read/write operations will be a lot faster. Plus, mechanical hard disks are usually ~30% faster at the platter outside than the inside.


    Note: I put the term "defragging" in quotes, because these days, the major improvement is achieved by optimizing data placement. So, "defragging" actually means optimization, as actual pure defragging has almost zilch performance gain.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. TairikuOkami

    TairikuOkami MDL Addicted

    Mar 15, 2014
    714
    590
    30
    Well said, Windows defrag call it free space consolidation, this is what it looks like before and after:

    capture_11192017_195231.jpg capture_11192017_195742.jpg

    Not to mention, that HDD's speed can be further improved by short-stroking.

    capture_10082017_103315.jpg
     
  8. halasz

    halasz MDL Member

    Jan 13, 2013
    108
    31
    10
    Not really. Defrag.exe runs on a (by default weekly) schedule. It will then do what it feels is best (nothing, defrag, optimize, slab-consolidate depending on storage type) but will not be triggered when certain defragmentation level is reached.

    If you want to trigger defrag.exe at some other time (for example after upgrading but before compacting a VM) to run then you need to do it yourself.
     
  9. monkeylove

    monkeylove MDL Junior Member

    Dec 8, 2013
    76
    14
    0
    I found out that defrag for Win 7 might not run as scheduled if something does not make the system idle. To solve the problem, I disabled the default defrag schedule and made a new one to run whether or not the system is idle at a time when I know no one will be using the machines.

    I didn't experience the same problem for Win 8. and 10.

    I also found out that the OS does optimization in the background every few days.
     
  10. rockyanexpert

    rockyanexpert MDL Junior Member

    Mar 6, 2010
    79
    55
    0
    Use professional defeat solutions like perfect disk
     
  11. endbase

    endbase MDL Guru

    Aug 12, 2012
    3,901
    1,197
    120
    I have bad experience with those so called "pro" solutions too much options and using resources that the purpose is long lost along the way hehe
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. macnavarra

    macnavarra MDL Member

    Nov 13, 2017
    116
    22
    10
    With O&O Defrag 21 Professional Edition it is build around windows default defrag.
     
  13. monkeylove

    monkeylove MDL Junior Member

    Dec 8, 2013
    76
    14
    0
    I found out that the same problem takes place for one Win 8.1 machine. The built-in defrag is scheduled daily but the last defrag took place three days ago.

    I have to disable the schedule feature in the defrag program then create a new one in task scheduler.
     
  14. forwardintofuture

    forwardintofuture MDL Junior Member

    Dec 7, 2016
    53
    40
    0
    O&O defrag would be your best bet. There is nothing better on the market.But its a paid product.