Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Will cleanall delete/overwrite MBR/BootSector?

30 Jul 2014   #1
90fox

Windows 7 64bit Home Premium
 
 
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 System SpecsSystem Spec
.
30 Jul 2014   #2
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
30 Jul 2014   #3
90fox

Windows 7 64bit Home Premium
 
 

Perfect! Thank you for your help and quick response.

Best,

Fox
My System SpecsSystem Spec
.

30 Jul 2014   #4
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

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 System SpecsSystem Spec
31 Jul 2014   #5
90fox

Windows 7 64bit Home Premium
 
 

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 System SpecsSystem Spec
31 Jul 2014   #6
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

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 System SpecsSystem Spec
31 Jul 2014   #7
90fox

Windows 7 64bit Home Premium
 
 

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 System SpecsSystem Spec
31 Jul 2014   #8
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

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.
My System SpecsSystem Spec
31 Jul 2014   #9
90fox

Windows 7 64bit Home Premium
 
 

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 System SpecsSystem Spec
31 Jul 2014   #10
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

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 System SpecsSystem Spec
Reply

 Will cleanall delete/overwrite MBR/BootSector?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
File Permissions Problem - Unable to Overwrite, Delete, Rename
I've encountered an issue where I am unable to delete, rename, or overwrite existing files on my computer, at least with certain extensions (.dll, .exe). This happens, for example, when I try to install an upgrade of a program -- the installer cannot finish the upgrade because it cannot replace the...
General Discussion
overwrite windows 7 files using dvd
I want to update windows 7 using windows 7 dvd offline (no internet on this pc) in order to fix corrupted windows 7 file problem (tried sfc scannow without success) anyone know how
Installation & Setup
Dual boot Overwrite
Maybe you guys can tell me what to expect before i screw my system up. I have 2 drives installed in my desktop one is an 80gb drive with windows 7 32bit installed on it, this one i use for my every day use. I also have a 250Gb drive with Vista 64 home premium. The Vista install was my everyday...
Installation & Setup
Overwrite -- without Prompts
I have to Overwrite all day long, lots and lot of files. 2 issues. 1. every time I overwrite, I have to go throught the several prompt dialogs --- how to avoid??? 2. i just did an overwrite from one drive to another and it appears to have merged rather than full overwrite?
General Discussion
Hidden Files Won't overwrite???
Hey guys, I'm doing a little bit of coding, but im having trouble with the updated files. C:\Program Files\MetaTrader - Alpari UK2\experts\indicators so this is the folder im working in, and Im using a coding editor to load the file, rewrite the code and then save over it. But i notice when i...
General Discussion
How Can I Overwrite Drive With Win 7 32 bit to 64 bit
I've got a single hard drive with WIN 7 32 bit RC operating OK. I want to replace it with WIN 7 64 bit RC (not dual boot). I inserted the 64 bit DVD WIN 7 install ISO disk in my DVD and either it will boot me into by 32 bit system or gives me options to repair it. But, no options to overwrite...
Installation & Setup


Our Sites

Site Links

About Us

Find 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 05:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App