How to hide EFI-partition?
Β· One min read
You have to delete the registry file with regedit for the volume you want to remove the drive letter.
-
Open Windows Powershell or the command line as administrator:
StartβRight clickPowershellβRun as administrator -
Open diskpart:
diskpart -
Identify the EFI partition showing up in Explorer:
list volume
-
Select the EFI partition (replacing the X with the correct drive letter):
select volume X -
Remove the EFI partition's drive letter (replacing the X with the correct drive letter):
remove letter=X -
Exit diskpart:
exit -
Open regedit:
StartβTyperegedit -
Find the right key/folder:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices -
If the EFI partitions drive letter is still in the registry, delete the value: e.g.
\DosDevices\X: -
Close RegEdit and reboot.