Diskpart - difference between "format" and "clean"?


  1. Posts : 15
    Windows 7 64-bit
       #1

    Diskpart - difference between "format" and "clean"?


    In diskpart, what is the functional difference between "format" and "clean" when focused on a certain partition/volume? Does clean merely wipe the mbr partition table info and format wipes data and sets up selected file system? Just looking for some clarity, thanks.

    Secondary question: is cmd.exe "format" command the same as diskpart: "format" command?
      My Computer


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

    Hello user0x12, :)

    "Clean" and "Clean All" will leave the disk as unallocated.

    Disk - Clean and Clean All with Diskpart Command

    Here's the technical description for "Clean":

    https://technet.microsoft.com/en-us/...or=-2147217396

    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.

    Here's the technical description for "Clean All":

    Specifies that each and every sector on the disk is zeroed, which completely deletes all data contained on the disk.


    Format in diskpart is the same command in cmd.exe. You can format a volume or partition.
      My Computer


 

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