Skip to main content

How to hide EFI-partition?

Β· One min read
Vuong Ngoc Doan
Vuong Ngoc Doan
IT Lead

You have to delete the registry file with regedit for the volume you want to remove the drive letter.

  1. Open Windows Powershell or the command line as administrator: Start→Right click Powershell→Run as administrator

  2. Open diskpart: diskpart

  3. Identify the EFI partition showing up in Explorer: list volume

  1. Select the EFI partition (replacing the X with the correct drive letter): select volume X

  2. Remove the EFI partition's drive letter (replacing the X with the correct drive letter): remove letter=X

  3. Exit diskpart: exit

  4. Open regedit: Start→Type regedit

  5. Find the right key/folder: Computer\HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

  6. If the EFI partitions drive letter is still in the registry, delete the value: e.g. \DosDevices\X:

  7. Close RegEdit and reboot.