How to delete an encrypted volume. How to remove EFI partition from USB drive

Hello! Windows 8.1 won’t boot on a laptop with a UEFI BIOS and I can’t do anything. When loading, an error appears on the screen File:\EFI\Microsoft\Boot\BCD... I studied all the Internet articles on this topic, but in my case nothing helps.

What have I done?

  1. Booted from installation Windows disk 8.1 and searched for the installed operating system with the command bootrec /RebuildBcd, error " Scanning installed systems Windows completed successfully. Total number of detected Windows systems: 0»
  2. Deleted a partition (300 MB), encrypted (EFI) system partition containing all files Windows boot loader 8.1 team del vol, then applied Automatic Boot Recovery, the system re-creates this partition, but does not boot. I made this section active in the command line, which also did not help.
  3. I entered commands that were successful, but Windows did not load.

    bootrec /FixMbr

    bootrec /FixBoot

  4. Also formatted the same partition (300 MB) Encrypted (EFI) with the command format fs=FAT3 and created it again.
  5. I tried to write a new boot store for Windows 8.1 with the command bcdboot.exe C:\Windows, where (C:) is the partition with installed operating system Windows 8.1 and I get the error againFailure to copy download files.

I don’t know what else to do or how to restore the Windows 8.1 bootloader. Maybe you can give me some advice?

Hello friends! My name is Vladimir and I will answer this question.

If your Windows 8.1 does not boot and you have used all available tools to restore the bootloader, then you can delete the 300 MB encrypted (EFI) system partition, as well as the 128 MB MSR partition, and create them again.

In Disk Management you can only see encrypted (EFI) system partition 300 MB, MSR partition 128 MB visible only in the command line when entering the command"lis par".

Note: If you do not have experience, do not perform this operation unless necessary, use other methods from the about section first. If you want to experiment on a working laptop, then do not start working without first creating backup copy of these sections, or better yet, create a .

We will delete and recreate partitions:

1. Section (400 MB) containing the environment Windows recovery 8.1 (you can get rid of this section altogether and, if necessary, use the recovery environment located on the bootable media with Win 8.1).

2. Section (300 MB), encrypted (EFI) system partition containing all Windows 8.1 boot loader files.

3. Service partition MSR (Microsoft System Reserved) 128 MB, required for GPT disk partitioning.

We boot the laptop from and in the initial system installation window, press the keyboard shortcut Shift + F10,

A command line window opens, enter the commands:

diskpart

lis dis (lists physical disks).

sel dis 0 (select the laptop hard drive 931 GB, and the second drive 14 GB - boot Windows flash drive 8.1).

lis par (shows all partitions of the selected disk, we will delete the first three partitions).

sel par 1 (select the first section

del par override (delete the partition, to delete the ESP and MSR partition or the laptop OEM partition, you must specify the override parameter)

sel par 2

del par override

sel par 3

del par override

That's it, we deleted all three hidden sections.

Now, if we select a disk and enter the lis par command, we will see only two partitions on the laptop’s hard drive:

Section 4 - installed Windows 8.1

Section 5 - hidden section restore to factory settings.

We create a new encrypted (EFI) system partition of 300 MB, as well as a 128 MB MSR partition

Enter the commands:

diskpart

lis dis (display a list of disks).

sel dis 0 (select the laptop hard drive).

create par efi size=300 (create an encrypted (EFI) system partition of 300 MB).

format fs=fat32 (format it in file system FAT32).

I came across a strange one hard drive, it seems there was Linux or MacOS. I deleted all the partitions, but one, standard means(Disk Utility and Disk Management) could not reach 200 meters.

In the context menu item Delete volume...inactive.

Delete an encrypted EFI partition in Windows 7 you can use a console program diskpart.

1. Launch cmd as administrator

2. Enter in cmd – diskpart. Will start diskpart in a new window

list disk – look at the list of disks
select disk # – select required disk. Instead of # we indicate the disk number
clean – removes all partitions or volumes on the disk
list partition – checks that all partitions have been deleted

4. Check the result in Disk Management.

5. All partitions have been deleted.

efi section
efi partitions
efi disk partition
efi windows partition
efi system mbr partition table
gpt efi section
efi system partition
encrypted efi partition
delete efi partition
create efi partition
format efi partition
encrypted efi system partition
efi mac section
efi partition mac os
efi boot partition
format efi partition fat32
format system partition efi fat32
efi system partition formatted ntfs
creating an efi partition
format the efi system partition in fat32 format
efi system partition installed
efi partitions hard drive
efi partition recovery
delete encrypted efi partition
how to recover efi partition
open encrypted efi partition
how to delete an efi encrypted system partition
efi partition size
efi partition in linux
deleting efi partition
mount efi partition

Sometimes when you plug in a USB drive it shows EFI and FAT32/NTFS. It's strange that if your USB is in this state, it's better to fix the format before using it to transfer data, as people might get confused about all the two new partitions showing up on their PC.

But Windows" Disk management does not allow you to delete this section. When you go to Disk Management by clicking right click mouse on the problematic USB drive, you will find that all options are grayed out. You can't delete volumes, and you can't "Shrink Volume" or "Expand Volume" to merge with other partitions.

It's OK. There is another way: command line DiskPart to help.

Launch command line How Administrator> type

DiskPart

Then you want to list all the drives connected to your computer, enter the following command: DiskPart

List of disks

It displays all the drives on your system. Find your USB drive and select the drive

Select drive x (drive #)

Here is my USB drive showing as Disk 2, so for me I enter " select disk 2", Yours may be different.

Then enter

Clean

To completely erase the disk. It is normal if sometimes the DiskPart report finds an error: The system cannot find the specified file. Additional information see the system event log.

As long as Disk Management shows all unallocated data for the USB drive, you have successfully destroyed the USB drive. This time it's time to prepare for reformatting.

Depending on your USB need, FAT32 is common universal format, which is suitable for storing files on OS platforms.

That's all. Now your USB will no longer show two partitions when connected to a PC. You have successfully deleted EFI partition.



Loading...
Top