Cleaning a virus laden hard drive - format vs diskpart/clean

Page 1 of 2 12 LastLast

  1. Posts : 218
    Windows 7 Professional x64
       #1

    Cleaning a virus laden hard drive - format vs diskpart/clean


    I'd like to make sure all malware is off an old hard drive before I re-use it. I want to make sure that all areas, including the boot sector are clean. Will using "format" in disk manager do that, or is Diskpart/Clean a more thorough cleaning?

    Thanks
      My Computer


  2. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #2

    If you want a thorough format you can use the Clean All command, but be aware it will take several hours or so depending on the size of your hard drive.

    Gregrocker is of the opinion that the Clean command is enough and knowing how knowledgeable he is I'd say that's good enough.

    Disk - Clean and Clean All with Diskpart Command
    Last edited by seavixen32; 06 Dec 2011 at 18:01. Reason: Extra information
      My Computer


  3. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #3

    Definitely use the Diskpart method. Just formatting all existing partitions won't touch the MBR or any code stored in the first 63 sectors of the disk.

    Diskpart's clean command wipes out the MBR and partition table completely, so for all intents and purposes the disk is returned to a virgin state. Everything else that still remains on it simply becomes inert, random data.
      My Computer


  4. Posts : 21,004
    Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
       #4

    How about a factory default - if it is a "bought" machine. It will clean everything and leave your OS intact.

    Trouble is you have to clean the bloat and do all the updating again.

    Menat to ad what do the others think of a an already cloned "clean' drive (I keep a couple spare) and just clone the the main drive from it? Or perhaps CCleaner drive wipe but you need the install disk eh?
    Last edited by ICIT2LOL; 07 Dec 2011 at 20:39. Reason: Addition
      My Computer


  5. Posts : 218
    Windows 7 Professional x64
    Thread Starter
       #5

    Thanks Seavixen and Corazon. I used the Clean function and it worked very nicely. I was pleased to see that when it was done it had removed all the partitions and left the space unallocated.
      My Computer


  6. Posts : 218
    Windows 7 Professional x64
    Thread Starter
       #6

    ICit2lol said:
    How about a factory default?
    This is a bare drive, no computer.

    Thanks
      My Computer


  7. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #7

    Hi Vincenzo,

    Can I offer a suggestion? Once you have your recently cleaned disk installed with everything you need, consider imaging your sytem using FREE Macrium Reflect - this way, if you run into trouble again, you could simple reinstall your entire system from the Macrium image. Its far quicker than doing a fresh install of everything.

    This tutorial will be useful too :

    Imaging with free Macrium

    Regards,
    Golden
      My Computer


  8. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #8

    Vincenzo said:
    Thanks Seavixen and Corazon. I used the Clean function and it worked very nicely. I was pleased to see that when it was done it had removed all the partitions and left the space unallocated.
    You're very welcome.

    Thanks for the feedback.
      My Computer


  9. Posts : 218
    Windows 7 Professional x64
    Thread Starter
       #9

    Golden said:
    Hi Vincenzo,

    Can I offer a suggestion? Once you have your recently cleaned disk installed with everything you need, consider imaging your sytem using FREE Macrium Reflect - this way, if you run into trouble again, you could simple reinstall your entire system from the Macrium image. Its far quicker than doing a fresh install of everything.

    This tutorial will be useful too :

    Imaging with free Macrium

    Regards,
    Golden

    Thanks Golden. Yes, I agree. I am a big fan of imaging. I use Ghost and Acronis. This drive was given to me by a friend.
      My Computer


  10. Posts : 1,781
    Windows 7 Professional SP1 32-bit
       #10

    Very welcome, thanks for letting us know you succeeded. :) I agree with Golden as well, nothing says "fresh start" like a pristine image of a newly-installed OS with all updates, drivers and core apps already installed. :)
      My Computer


 
Page 1 of 2 12 LastLast

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

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