Windows, SSDs and Defrag

Page 1 of 2 12 LastLast

  1. Posts : 247
    Windows 10 Pro version 21H2 (standalone licence)
       #1

    Windows, SSDs and Defrag


    I have read some stuff on this being a newbie to SSDs.

    Eventually found this: The real and complete story - Does Windows defragment your SSD? - Scott Hanselman's Blog

    OK. I have set system restore to run on the system drive. I understand from this article that the system storage optimiser will then run a defrag once a month regardless of defrag settings. Is that correct?

    I think this article also implies that to work properly system restore needs to be set to ON for any data drives to where windows library folders (Doc, Pics, etc) have been moved. Is that correct?

    If both are correct then I think that the required defrag will take place as part of system restore settings.

    If only the first is correct then do I need to set up a monthly defrag in windows on the data drive?

    Thanks in advance for any help with my understanding on this.
      My Computer


  2. Posts : 5,048
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #2

    @kevvyb -

    You do not perform a traditional defragmentation of an SSD.

    Simply put, click on Defragment and Optimize Drives - your drive should state Solid State Drive and have the Optimize button (TRIM) enabled
    One click and done. You can schedule how many times you want the TRIM command to run in that area.

    I run it every other day, manually. It's fast!

    Hope this helps.



    P.S. If the SSD is not recognized as a SSD post back.
      My Computer


  3. Posts : 16,956
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    Kev,

    What Scott is saying is based on setting your drives in the Optimiser to be worked on weekly.
    That includes a monthly defrag even though the chosen frequency is weekly.
    The monthly defrag is also mentioned in my ditty SSD trim, defrag - TenForums and the MS article to which it links.

    Yes, Scott does say that System restore needs to be on. But he does not seem to have considered additional drives. If you want to be certain then you'll need to set System restore on for each one.

    Then run Optimiser, tick all your disks and set it to run automatically [its default is weekly] and then you can forget all about defragging because Windows is worrying about it for you.
    C:\Windows\System32\dfrgui.exe
    or
    Start menu, Windows administrative tools, Defragment & optimise drives

    All the best,
    Denis
    Last edited by Try3; 20 Feb 2022 at 10:20.
      My Computer


  4. Posts : 5,048
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #4

    Hi.

    It's really easy, either command line or click.

      My Computer


  5. Posts : 247
    Windows 10 Pro version 21H2 (standalone licence)
    Thread Starter
       #5

    Defragment & Optimise


    Thank you both. My brain, doh! I had not realised that Windows was just sorting it all and the 'defragment and optimise' was detecting the type of drive and offering appropriate options.

    I assume that if and when I add a hard drive, the there will be defrag options too or the O/S just interprets the correct action for the type of drive?

    Just set like this, as you say, so easy!!
    Windows, SSDs and Defrag-screenshot-2022-02-20-152359.png

    - - - Updated - - -

    One other things occurs with regard to 'over-provisioning' which I will ask as a separate post
      My Computer


  6. Posts : 16,956
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #6

    kevvyb said:
    the O/S just interprets the correct action for the type of drive?
    Yes.

    Denis
      My Computer


  7. Posts : 247
    Windows 10 Pro version 21H2 (standalone licence)
    Thread Starter
       #7

    Thanks
      My Computer


  8. Posts : 16,956
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8

    Kev,

    Something must have distracted me. I also intended to point out that you can see the records of defrag operations in Event viewer. Doing so would answer your question about your various drives.

    Unzip this Event viewer, Custom view definition & import it into Event viewer.
    Defrag.zip

    I happen to call it Defrag but you can call it whatever you want.
    Before importing it, you can read the unzipped xml file in Notepad or, for a better presentation of its contents, by right-clicking and opening in a browser.
    1 Unzip the file
    2 Open Event viewer, click on Import Custom view [on the right-hand side],
    3 Browse to and select the xml, Open,
    4 Change the name if you want to then OK,
    5 You can see the records, on the left-hand side, within the group Custom views.

    Best of luck,
    Denis
      My Computer


  9. Posts : 247
    Windows 10 Pro version 21H2 (standalone licence)
    Thread Starter
       #9

    Thanks Denis
      My Computer


  10. Posts : 11
    win10
       #10

    do you really need system restore enabled for correct working defrag? I have always system restore disabled, and the automatic defrag just works.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:11.
Find Us




Windows 10 Forums