Diskpart "Clean All" command can remove or repair bad sector ??

ChoYun Lu 1 Reputation point
2021-04-16T06:31:03.157+00:00

Hi all.

There is a question confuse me for a long time. As I know many hard disk vendors provide official disk utilities for remove or repair bad sectors for permanently. And the function usually called "Fill Zero" or "Write Zero", and there is one command called "Clean All" in Microsoft Diskpart. According to Microsoft official document, "Clean All" command is perform "Write Zero" action on hard disk too. Some official hard disk utilities has "Quick" and "Full" zero same as Diskpart "Clean" and "Clean All", and hard disk zeroing action is performed by hard disk firmware, that means no matter what software we use, they are doing same action in background. So I think that Diskpart is doing same thing like official HD utilities, that mean Diskpart may remove or repair bad sectors.

I need to confirm whether Diskpart could remove bad sectors or not because I have to care NAS in my job. I need to know what is Diskpart doing in background. Please ignore low level format definition and how low level format remark bad sector, I already know that.

Thank you.

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Jenny Feng 14,246 Reputation points
    2021-04-19T01:49:52.817+00:00

    @ChoYun Lu
    Hi,
    Clean all does everything that clean does, but all data is zeroed (securely erased) so that it's not recoverable.

    clean
    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.

    clean all
    Specifies that each and every sector on the disk is zeroed, which completely deletes all data contained on the disk.
    For your reference:
    https://click.linksynergy.com/deeplink?id=kXQk6%2AivFEQ&mid=24542&u1=tomshardware-row-7526672877446980000&murl=https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fcc766465%2528v%3Dws.10%2529.aspx

    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.