> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/tools/windows/remove-efi-disk-partition.md).

# Remove EFI disk partition

Launch cmd, execute

```bash
diskpart
```

In diskpart, do

```bash
DISKPART> list disk
```

Select target disk, where N is the target disk index

```bash
DISKPART> select disk N
```

```bash
DISKPART> list partition
```

```bash
DISKPART> select partition
```

```bash
DISKPART> clean
DISKPART> create partition primary
```

Then, delete this new primary partition in Disk Management window, and create new partition as desired.
