---
title: Delete EFI System Partition in Windows
tags: Windows, diskpart, Utility
---
### To remove installation
```none
list disk
sel disk #
list partition
sel partition #
set id ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
```
[Parameters](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set-id#parameters)
Now should be able to delete using Computer Management
### To remove boot
Need to be run on cmd
```none
bcdedit /? /enum
bcdedit /enum FIRMWARE
bcdedit /? /delete
```
### To really remove boot
[docs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mountvol)
```none
mountvol j: /s
rmdir j:\EFI\ubuntu
mountvol j: /d
```