2 Questions about Disk & Defragmentation


  1. Posts : 134
    Windows 10
       #1

    2 Questions about Disk & Defragmentation


    First of all, I'll show situation with screenshot:


    1. Why I have so many recovery partitions on my SSD? Is it okay? Or should I do something to change it?
    2. It seems Defragmentation schedule was on weekly and all disks were checked by default. My question is should I keep my SSD checked there? Cause I know SSD's doesn't need defragmentation and they are bad for them, but I'm thinking maybe Microsoft changed it, cause it's 2017 year now & almost all people use SSD's now. So maybe Microsoft's new updates changed defragmentation utility and when they say "optimize" drive with SSD it optimizes without defragmentation?
      My Computer


  2. Posts : 5,478
    2004
       #2

    1. It is OK to leave as it is but you can delete the partitions you aren't using if you want.

    First check recovery is enabled and which partition is being used. From administrator command or powershell prompt:
    Code:
    PS C:\Windows\system32> diskpart
    
    Microsoft DiskPart version 10.0.15063.0
    
    Copyright (C) Microsoft Corporation.
    On computer: MACBOOK
    
    DISKPART> select disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Recovery           450 MB  1024 KB
      Partition 2    System             100 MB   451 MB
      Partition 3    Reserved            16 MB   551 MB
      Partition 4    Primary            106 GB   567 MB
    
    DISKPART> exit
    
    Leaving DiskPart...
    PS C:\Windows\system32> reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Enabled
        Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE
        Boot Configuration Data (BCD) identifier: 3be03281-176e-11e7-b4ff-c30418e09fae
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    PS C:\Windows\system32>
    You can then go and delete the recovery partitions not being used. Note that the Reserved number 3 in green above is not shown in Disk Management so (counting from the left) you need to subtract 1 from each partition after C if deleting them through Disk Management.

    Another way is to use diskpart again to delete the partitions that are not being used (replace x with the partition number you want to delete).

    diskpart
    select disk 0
    list partition
    select partition x
    delete partition override
    <etc>

    2. Don't worry about defragmentation. Your SSD is recognized and correct optimization will be performed.
      My Computer


  3. Posts : 134
    Windows 10
    Thread Starter
       #3

    Thank you for the answer. I did things in powershell and this is where I'm now:


    Should I deleted those 3 Recovery partitions with 450MB size?
    Also how to check recovery is enabled or no?
      My Computer


  4. Posts : 18,430
    Windows 11 Pro
       #4

    Ditendra said:
    Should I deleted those 3 Recovery partitions with 450MB size?
    Also how to check recovery is enabled or no?
    You can tell which recovery partition is active by running the following command:

    reagentc /info

    The partition number given will correspond to the partition numbers you get when you run the diskpart command:
    list part.

    You can safely delete the recovery partitions that are not active. You can really delete the active recovery partition too, you just then have to boot from a Windows 10 USB flash drive or DVD to get the full functions of the advanced troubleshooting menu, which is what the recovery partition provides.
      My Computer


  5. Posts : 134
    Windows 10
    Thread Starter
       #5

    Done what u said. Now only thing is that I have 903MB unallocated space. How can I merge it with my main partition (C)? When I right click on C "extend volume" is grayed out.
      My Computer


  6. Posts : 18,430
    Windows 11 Pro
       #6

    You will have to use a partition program like MiniTool Partition Wizard to move the recovery partition to the end of the drive.

    Best Free Partition Manager for Windows | MiniTool Partition Free
      My Computer


  7. Posts : 134
    Windows 10
    Thread Starter
       #7

    NavyLCDR said:
    You will have to use a partition program like MiniTool Partition Wizard to move the recovery partition to the end of the drive.

    Best Free Partition Manager for Windows | MiniTool Partition Free
    Wow, that was so easy.
    Thank you everyone helping me with those issues. Have a great day!
      My Computer


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

    Ditendra, About the defrag SSD part of your question -

    That Defragmenter UI runs Task scheduler, Task scheduler library, Microsoft, Windows, Defrag, ScheduledDefrag.

    If you look in its Actions tab you will see that it has the arguments -c -h -o -$. The -o argument means Perform the proper optimization for each media type. That ensures that your SSD is treated correctly.

    You can see descriptions of most defrag arguments by opening a command window then entering defrag /?
    but the -$ argument is not documented anywhere [I have seen a suggestion that it affects the priority with which the task runs when Task scheduler is being used to start it].

    Denis
      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 08:23.
Find Us




Windows 10 Forums