Is production: true
#migrated

Title: Partition deletion and creation in windows

Created: 2 Dec 2019 Modified: 2 Dec 2019

Description: A article description the how to use the `diskpart` command.



In some case, the partition deletion and creation can not be done by disk management panel in windows, but can be achieved from command line application diskpart. [Link]

  1. List disk

    lisk disk
    
  2. Select disk

    select disk {disk number}
    
  3. List partition of disk

    list partition
    
  4. Select partition

    select partition {partifiion number}
    
  5. Delete partition

    delete partition {partition number}
    
  6. Create partition

    create partition primary
    ``
    

[Legacy Link]