Will cleanall delete/overwrite MBR/BootSector?

Page 1 of 2 12 LastLast

  1. Posts : 7
    Windows 7 64bit Home Premium
       #1

    Will cleanall delete/overwrite MBR/BootSector?


    Hello,

    I did some searching and reading of tutorials and just want to make sure I understand what I'm interested in learning.

    I might have been infected with some malware or virus etc and I want to wipe the drive and ensure that there are no rootkits hiding anywhere in the MBR or boot sector or at the end of the disk drive.

    From what I've read, it appears that a clean or cleanall command from diskpart will do what I need.

    Is this true?

    Thank you in advance!

    PS the tutorials are awesome. Thank you to all who contribute and take the time to put that information together for noobies like me to learn.

    Best,

    Fox
      My Computer


  2. Posts : 72,041
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Fox, and welcome to Seven Forums.

    That's correct. Running "Clean all" will completely wipe and override the hard drive sector by sector. It'll let you start fresh again. :)

    Disk - Clean and Clean All with Diskpart Command
      My Computer


  3. Posts : 7
    Windows 7 64bit Home Premium
    Thread Starter
       #3

    Perfect! Thank you for your help and quick response.

    Best,

    Fox
      My Computer


  4. Posts : 13,576
    Windows 10 Pro x64
       #4

    It takes a while, so the sooner you start the better.


    clean
    clean [all]
    Removes any and all partition or volume formatting from the disk with focus. On master boot record (MBR) disks, only the MBR partitioning information and hidden sector information are overwritten. On GUID partition table (GPT) disks, the GPT partitioning information, including the Protective MBR, is overwritten; there is no hidden sector information.
    all
    Specifies that each and every sector on the disk is zeroed, which completely deletes all data contained on the disk.
      My Computer


  5. Posts : 7
    Windows 7 64bit Home Premium
    Thread Starter
       #5

    Thank you for the added info addram.

    I've run into a wall and was hoping I could get some additional help. If I should start a new thread please let me know. apologies in advance.

    I'm trying to figure out how to perform a cleanall on my hdd installed in my laptop. I read this tutorial:

    Command Prompt at Startup

    and to start diskpart I need to be able to access command prompt.

    The tutorial gives 2 was to get into command prompt. The first way suggests using the windows install/repair disk. The problem is I do not have a windows installation or repair disc to use to boot command prompt. I have a lenovo which came with this software called onekey recovery and the factory recovery disc I burned when I first got the laptop boots into the onekey recovery software with no option for command prompt. I even tried shift+f10. no luck.

    The other option it says to use is enter safe mode with cmd prompt. But if I'm running cleanall, would that eventually delete the data that the computer is using to run in safe mode cmd prompt? I don't think I can run command prompt on the "system drive". The OS will likely block that attempt right?

    What options do I have?

    I've read that I might need to connect my hdd to another computer via a sata adapter or something and use that other computer to run the cleanall function on my connected hdd. This can't be the only way right?

    Maybe the only other feasible option is to download a copy of windows 7 and place it on a bootable USB drive? Then use that usb drive to boot windows into command prompt and then use the cleanall function?

    Thank you in advance.
      My Computer


  6. Posts : 13,576
    Windows 10 Pro x64
       #6

    You can either download the windows 7 iso file and burn to dvd, or you can create a system repair disc on a windows 7 computer with a cd burner. Make sure you get the proper version of windows you need, either 32 or 64 bit. With or without Service Pack 1.

    System Repair Disc - Create

    A usb drive is an easy option also.

    http://www.mydigitallife.info/offici...digital-river/

    http://bootableusb.net/wintobootic-b...ndows-vista78/

    http://rufus.akeo.ie/

    If you can hook it to another pc, that would really save you some time, I`ve done that
      My Computer


  7. Posts : 7
    Windows 7 64bit Home Premium
    Thread Starter
       #7

    Oh duh! aha! Thank you, I think the system repair disc should do the trick. I just hope if there is any malware that it doesn't infect the repair disc and eventually end back up on my hdd after a cleanall function in diskpart.

    By chance would you know the size of the repair disc? I would like to figure out how many dvd's I need. I dont have any at the moment but can stop at the store and pick up a small pack if that's what it takes to get this done right.

    Again, thank you. I appreciate your help. I majored in a different subject, but I always wish I went into computer science or engineering and picked up a few programming languages. This stuff interests me very much and I enjoy learning about it through tutorials and research online.
      My Computer


  8. Posts : 13,576
    Windows 10 Pro x64
       #8

    It can`t infect the repair disc. But I would hope you make it on a clean pc :)

    You only need 1 cd to create a SRD. Choose Backup and Restore in the Control Panel to make one.
    Since you will only be using it to run Diskpart, I don`t think whether the pc is 32 or 64 bit matters.
    Last edited by AddRAM; 22 Apr 2015 at 17:48.
      My Computer


  9. Posts : 7
    Windows 7 64bit Home Premium
    Thread Starter
       #9

    Again, duh! Why can't i think of these things myself? I appreciate your patience with me. Haha My mom has a windows 7 pc which should be clean. But her version is 32bit and my version is 64bit. I don't believe it will make a difference, right?
      My Computer


  10. Posts : 13,576
    Windows 10 Pro x64
       #10

    Your version shouldn`t matter because you are wiping it. Make the 64 bit SRD and let us know how you make out.

    The only time I`ve come across a version problem is when running startup repair or launching a disk image.

    Yaay Microsoft

    Can a 32 bit installer be used to launch a 64 bit image ........Hmmm, experiment time
      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 02:04.
Find Us