Skip to content

Instantly share code, notes, and snippets.

@henrytriplette
Created April 24, 2019 20:33
Show Gist options
  • Save henrytriplette/d78cc93cfbe402f4c7c791da8e31ed70 to your computer and use it in GitHub Desktop.
Save henrytriplette/d78cc93cfbe402f4c7c791da8e31ed70 to your computer and use it in GitHub Desktop.
Windows 10 - Remove recovery partition using diskpart

From admin console, run

diskpart

then:

DISKPART> list disk
DISKPART> select disk 5

Disk 4 is now the selected disk.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 2    Primary            110 GB  1024 KB
  Partition 1    Recovery           450 MB   110 GB

DISKPART> select partition 1

Partition 1 is now the selected partition.

DISKPART> delete partition override

DiskPart successfully deleted the selected partition.

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary            111 GB  1024 KB

Recovery partition should be deleted. Now you can expand the partition using disk manager gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment