Excluding your tRAID disks & SSD from Windows automatic maintenance

Windows 8 and Server 2012 enable by default a scheduled process to defrag or optimize your disks.
Running Defrag on your SSD is bad as it increases the wear on the SSD without any value. What you should run on your SSDs is TRIM.

Running Defrag on the tRAID disks should typically not be an issue for as long as it is done a disk at a time and for most setup.
If it ever turns out that such task is troublesome for your setup, you can exclude your tRAID disks and SSDs from the Windows scheduled Defrag operations.

1. Run dfrgui.
1. Defrag Exclusion - dfrgui

2. Select a disk and change it settings
2. Defrag Exclusion - Change settings

3. Set the settings as appropriate.
3. Defrag Exclusion - Changes

Be Sociable, Share!


7 Responses to “Excluding your tRAID disks & SSD from Windows automatic maintenance”

  1. vletroye August 17, 2014 at 4:36 PM #

    “O&O Defrag” will typically defragment several disks in parallel. And I personally noticed indeed a lot of blocks out of sync since using O&O Defrag…

  2. admin August 19, 2014 at 4:47 PM #

    Running disk utilities on RAID is typically discouraged since those tools as we don’t know what assumptions those tools are making.

    As far as defrag and tRAID, and f one must absolutely run it, then it must be done one disk at at time.

  3. roirraW "edor" ehT September 20, 2014 at 10:53 PM #

    Greetings Brahim. I notice at least on Server 2012 R2 that even with one disk selected in the Defrag interface that changing the settings applies to all disks. The Settings dialog has a “Drives” section with a “Choose” button, but all that’s listed for me is All.

  4. Brahim September 30, 2014 at 7:20 AM #

    @RoirraW “Edor” EhT
    Without screenshots of what you are looking at, I simply can’t visualize what you are referring to.

  5. Aaron October 1, 2014 at 2:54 PM #

    I often use MyDefrag (http://www.mydefrag.com/) for manual 1 disk at a time defrag jobs on other boxes in the past.

    Has anyone experienced any issues using MyDefrag?

  6. Dominic November 12, 2014 at 6:59 PM #

    I would recommend removing this section because if people do follow this procedure they are actually disabling the automated TRIM optimization on their SSD’s as well. The automatic optimization will TRIM the SSD’s that support it and defrag HDD’s.

    This was only a problem when SSD’s first came to the consumer market and this really is not a problem any longer. Windows 8 and Server 2012 automatically optimize SSD’s using TRIM. Your screen shot is also showing this. As demonstrated in your screenshot, SSD’s get the “Need’s optimization” status where as HDD’s show the “% fragmented”. Optimizing an SSD will “TRIM” it.

  7. Jedi April 6, 2015 at 6:48 PM #


    Windows Server 2012 R2 knows what an SSD drive is and that it should not Defrag it. When you perform “optimization” on an SSD via the built in utility it performs the TRIM for you instead.

Leave a Reply