Is production: true
#migrated

Partition deletion and creation in windows

Created: 2 Dec 2019 Modified: 2 Dec 2019 Lang: English

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

    1
    
    lisk disk
    
  2. Select disk

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

    1
    
    list partition
    
  4. Select partition

    1
    
    select partition {partifiion number}
    
  5. Delete partition

    1
    
    delete partition {partition number}
    
  6. Create partition

    1
    2
    
    create partition primary
    ``
    

[Legacy Link]