question

ChoYunLu-8124 avatar image
0 Votes"
ChoYunLu-8124 asked JennyFeng-MSFT commented

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

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.

windows-10-hardware-performance
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ChoYunLu-8124
Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·

1 Answer

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered

@ChoYunLu-8124
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.