Windows 10: Do I need to defrag the hard disk even if I format the hard disk Solved

Page 2 of 2 FirstFirst 12
  1. Bree's Avatar
    Posts : 8,599
    10 Home x64 (1803) (10 Pro on 2nd pc)
       09 Jul 2018 #11

    NavyLCDR said: View Post
    I've got a couple of Windows 7 installs on a spinner, I'll have to play with those and see how the latest version of Macrium behaves.
    I'll be interested in the results. I used V7.1.3317 in my tests.
      My ComputersSystem Spec

  2.    09 Jul 2018 #12

    Bree said: View Post
    I'll be interested in the results. I used V7.1.3317 in my tests.
    Now with the help of both of you, with your tests, a clear picture will come out, which will help many others.
      My ComputerSystem Spec

  3.    11 Jul 2018 #13

    So here are the results of my testing:

    I made a backup image of a Windows 10 installation that was in a 250GB partition. First when I restored the partition, I shrunk it by 1GB so the restored partition was 249GB is size. This was the result:
    Click image for larger version. 

Name:	resized.JPG 
Views:	62 
Size:	11.3 KB 
ID:	195415

    Expanding the partition back to 250GB did not change the fragmentation. Conclusion: the partition was defragged (file by file copy) when it was shrunk and restored.

    Now, here are the results when I restored the partition without resizing it:
    Click image for larger version. 

Name:	original.JPG 
Views:	62 
Size:	11.5 KB 
ID:	195416

    So....the behavior Bree posted is correct. Restoring the partition without resizing is a sector by sector restore, not file by file, and no defragging occurs. So if you want to defrag during your restore, you have to shrink the partition when you restore it - then you can expand the restored partition back to it's original size after the restore is complete.
      My ComputerSystem Spec

  4.    12 Jul 2018 #14

    NavyLCDR said: View Post
    So here are the results of my testing:

    I made a backup image of a Windows 10 installation that was in a 250GB partition. First when I restored the partition, I shrunk it by 1GB so the restored partition was 249GB is size. This was the result:
    Click image for larger version. 

Name:	resized.JPG 
Views:	62 
Size:	11.3 KB 
ID:	195415

    Expanding the partition back to 250GB did not change the fragmentation. Conclusion: the partition was defragged (file by file copy) when it was shrunk and restored.

    Now, here are the results when I restored the partition without resizing it:
    Click image for larger version. 

Name:	original.JPG 
Views:	62 
Size:	11.5 KB 
ID:	195416

    So....the behavior Bree posted is correct. Restoring the partition without resizing is a sector by sector restore, not file by file, and no defragging occurs. So if you want to defrag during your restore, you have to shrink the partition when you restore it - then you can expand the restored partition back to it's original size after the restore is complete.
    Thanks for taking pain to do the test and clearing my doubts. Thanks to Bree also.
      My ComputerSystem Spec

  5.    12 Jul 2018 #15

    Actually, I think the File by File copy statement is actually rather an oversimplification. The restore is still an intelligent sector restore afaik, but instead of just excluding pagefile etc, it intelligently moves sectors around to remove fragmentation. Ultimately, it comes to the same thing but is more subtle than the old "Ghost" style defrag by file copy and I expect it is faster. Conceptually thinking of it as file by file copying is easier but I think it is more subtle. Its a moot point anyway as these tests show the way to defrag on the fly, and it is obviously far more efficient than the standard defragging.
      My ComputerSystem Spec

  6. Ztruker's Avatar
    Posts : 6,252
    Windows 10 Pro X64 17134.191
       14 Jul 2018 #16

    Windows 10 defrags (or trims if an SSD) automatically once a week anyway so it's basically a moot point but I thought this was a great discussion. The shrink trick is very cool, I'll have to try that the next time I need to do a restore.
      My ComputersSystem Spec

  7.    16 Jul 2018 #17

    So, do I shrink the partition before restoring or before backing it up via macrium?
      My ComputerSystem Spec

  8.    16 Jul 2018 #18

    titetanium said: View Post
    So, do I shrink the partition before restoring or before backing it up via macrium?
    Before restoring.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
I'm setting up a Toshiba Encore 2 Tablet for a family member. I've already updated it to run 32-bit Windows 10 Pro 1607. It came with a very small amount of internal EMCC storage (24 GB available, NTFS formatted), but fortunately it also includes a...
Hello Trying to help my daughter with her Macbook hard disk problem Can I low /repair, low format and partition a drive with my PC then use it in a Macbook? If so how do I proceed? Martin
Hard Disk Converted to GPT format in Drivers and Hardware
I have DELL inspiron 5558 With windwos 8.1 and upgraded to windows 10. Recently i wanted windows 7 and for that i shrink my E drive and from DVD tried to install Windows 7 on that 50 GB unallocated space. But it was showing me that you cant...
Hard disk on it's way out? in Drivers and Hardware
I have a friend's laptop in my care at present. 'something' had happened to it, it wouldn't boot and when I tried to fix it through repair with a W10 CD, I got that the disk was locked. I found some instructions for that and followed them and was...
Take care of my new hard disk in Drivers and Hardware
Hi Ten forums Team. Merry Christmast and Happy New year. Maybe you remember me. I send you a disk report and it aparently in perfect state i perform your test and the bios test. But that disk previously hits on the ground and that "health" was...
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 16:08.
Find Us