convert mbr not needed after diskpart clean command?

Page 1 of 2 12 LastLast
  1. Ztruker's Avatar
    Posts : 7,696
    Windows 10 Pro X64 1809 17763.437
       #1

    convert mbr not needed after diskpart clean command?


    @NavyLCDR, you said in another thread:
    The clean command in diskpart automatically converts the drive to MBR. "Convert MBR" is never necessary after the "clean" command.
    I tested this and does not appear to be the case. Flash drive is GPT before and after the clean command is run.

    Code:
    >diskpart
    
    Microsoft DiskPart version 10.0.17763.1
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          465 GB    46 GB        *
      Disk 1    Online         1863 GB  1024 KB        *
      Disk 2    Online         1863 GB      0 B        *
      Disk 3    No Media           0 B      0 B
      Disk 4    Online           14 GB      0 B        *
    
    DISKPART> sel disk 4
    
    Disk 4 is now the selected disk.
    
    DISKPART> clean
    
    DiskPart succeeded in cleaning the disk.
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          465 GB    46 GB        *
      Disk 1    Online         1863 GB  1024 KB        *
      Disk 2    Online         1863 GB      0 B        *
      Disk 3    No Media           0 B      0 B
    * Disk 4    Online           14 GB    14 GB        *
    My system is a Lenovo K450 4th gen i7 4770 Quad 3.4Ghz
    UEFI, all drives are GPT.
    1809 17763.379

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	46.6 KB 
ID:	227835

    Thoughts? Maybe the command needs to be clean all? If so, that would be a lot slower so the convert mbr would be better.
      My ComputersSystem Spec

  2. Clintlgm's Avatar
    Posts : 940
    Win 10 pro Upgraded from 8.1
       #2

    The Diskpart Clean command should leave your Disk/SSD unused space RAW, as it came from the factory neither MBR nor GPT
      My ComputersSystem Spec


  3. Posts : 25,055
    windows 10 professional version 1607 build 14393.969 64 bit
       #3
      My ComputerSystem Spec

  4. Bree's Avatar
    Posts : 10,851
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #4

    Clintlgm said: View Post
    The Diskpart Clean command should leave your Disk/SSD unused space RAW, as it came from the factory neither MBR nor GPT
    That does not seem to be what @Brink's tutorial says. It seems that it overwrites all the information in the partition table, but leave the table as it found it (MBR or GPT).

    The clean command 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.
    Erase Disk using Diskpart Clean Command in Windows 10 | Tutorials

    My experience agrees with @Ztruker, a usb flash drive with a gpt layout will still be gpt after using Diskpart Clean.
      My ComputersSystem Spec

  5.    #5

    Then it must be true for USB HDD/SSDs only:
    Code:
    Microsoft Windows [Version 10.0.18358.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\WINDOWS\system32>diskpart
    
    Microsoft DiskPart version 10.0.18358.1
    
    Copyright (C) Microsoft Corporation.
    On computer: JOHN-LAPTOP
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          476 GB      0 B        *
      Disk 1    Online          476 GB  2048 KB        *
      Disk 2    Online          298 GB      0 B        *
    
    DISKPART> sel dis 2
    
    Disk 2 is now the selected disk.
    
    DISKPART> clean
    
    DiskPart succeeded in cleaning the disk.
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          476 GB      0 B        *
      Disk 1    Online          476 GB  2048 KB        *
    * Disk 2    Online          298 GB   298 GB
    
    DISKPART>
    Not for flash drives. Although I can't honestly understand why you would want a GPT flash drive anyway. But I was mistaken about flash drives.
      My ComputerSystem Spec

  6. Bree's Avatar
    Posts : 10,851
    10 Home x64 (1809) (10 Pro on 2nd pc)
       #6

    NavyLCDR said: View Post
    ...I can't honestly understand why you would want a GPT flash drive anyway....
    A lot get turned into gpt without the owner realising by using of Rufus
      My ComputersSystem Spec


  7. Posts : 25,055
    windows 10 professional version 1607 build 14393.969 64 bit
       #7
      My ComputerSystem Spec

  8. Ztruker's Avatar
    Posts : 7,696
    Windows 10 Pro X64 1809 17763.437
    Thread Starter
       #8

    Bree said: View Post
    A lot get turned into gpt without the owner realising by using of Rufus
    Yup, that's where that particular flash drive came from. I had used Rufus some time back to create it as UEFI/GPT.

    Thanks all for chiming in on this.
      My ComputersSystem Spec

  9. Ztruker's Avatar
    Posts : 7,696
    Windows 10 Pro X64 1809 17763.437
    Thread Starter
       #9

    @zbook, thanks. That is what started this thread though. The instructions I had posted included convert mbr after running the clean command and @NavyLCDR said it wasn't needed. I tested and it was needed so here we are.

    Consensus is it's not need for hard drives but is needed for flash drives.
      My ComputersSystem Spec

  10. Clintlgm's Avatar
    Posts : 940
    Win 10 pro Upgraded from 8.1
       #10

    Ztruker said: View Post
    @zbook, thanks. That is what started this thread though. The instructions I had posted included convert mbr after running the clean command and @NavyLCDR said it wasn't needed. I tested and it was needed so here we are.



    Consensus is it's not need for hard drives but is needed for flash drives.
    Well we all learned something on this thread, I had no Idea that a flash drive would be any different than a ssd
      My ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
How to Erase a Disk using Diskpart Clean Command in Windows 10 You can use the clean or clean all Diskpart command options to erase (wipe) a disk leaving it unallocated and not initialized. The clean command removes any and all partition or...
Solved Some more feedback needed on Diskpart in Drivers and Hardware
Hi all, I've recently done a clean Windows 10 installation using a Media Creation Tool created flash drive. I always look afterwards in Disk Management or Diskpart to see if the partitions are set up correctly. My clean installation method is always...
Solved Diskpart command info needed? in Drivers and Hardware
Hi, I have a UEFI boot laptop (not Legacy BIOS). If I was to use Diskpart to create a Windows 10 bootable USB flash drive for UEFI only would the following commands be correct? If my understanding is correct there is no need for the "Active"...
Hi, I have a bootable Windows 10 USB flash drive that was created using Rufus so it has GPT partition table for UEFI setup. I want to put it back to MBR partition style using Diskpart. In diskpart if I select the disk and then use the clean...
Unknowingly I fired the clean command in repair pc CMD while installing Windows 10. Please help to get all partitions? Problem: How to get back old partitions? Error Made: Unknowingly I fired the clean command in repair pc CMD, while installing...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 03:06.
Find Us