Diskpart clean command

K-Foxx

Honorable
Feb 19, 2013
1
0
10,510
I recently tried to format one of my hard drives and it said the MBR was on it. So I opened up diskpart and very carefully selected that drive and used clean, thinking that I would just use my windows repair disk to restore the MBR to the correct drive later. Now, however, it seems that it cleaned at least two of my extra storage drives and my windows repair disk can't find my operating system to restore the MBR. Any suggestions?
 
According to Microsoft's documentation, only the in-focus disk is cleaned.

A Description of the Diskpart Command-Line Utility:
http://support.microsoft.com/kb/300415

========================================================
clean [all]

Use the clean command to remove partition or volume formatting from the current in-focus disk by zeroing sectors. By default, only the MBR or GPT partitioning information and any hidden sector information on MBR disks is overwritten. If you specify the all parameter, each and every sector can be zeroed, and all data that is contained on the drive can be deleted.
========================================================