Sep 17, 2019 The Windows Boot Manager (BOOTMGR) is a very important tool for managing Windows 10 boot menu. It also comes in handy when your computer runs into boot problems. If this guide helped you resolve your boot problem, let me know by completing the 'Leave a.
- 1. Use diskpart to fix UEFI in Windows 10/8/7
- 2. Use Automatic Repair to repair Windows 10/8 UEFI
In this article, you'll find step-by-step methods to guide you fix computer UEFI boot errors in Windows 10/8/7. No matter you are a new Windows 10 insider user or a loyal Windows 8 or 7 fans, if you are having problems with UEFI boot on your PC, just relax. And you may directly follow offered steps below to fix UEFI boot in Windows 10/8/7 with ease now.
Method 1. Use Diskpart to Fix UEFI Boot Error in Windows 10/8/7
If you are a Windows 10 or 8 user and you prefer free methods to fix UEFI boot error, you may follow below two solutions to solve this issue now:
1 - Enter Command Prompt from Advanced options
Step 1: Insert Windows 10/8/7 installation disk or installation USB into PC > Boot from the disk or USB.
Step 2: Click Repair your computer or hit F8 at the Install now screen.
Step 3: Click Troubleshoot > Advanced options > Command Prompt.
2 - Run Diskpart to set partition ID and assign drive letter
Step 1: Type below command and hit Enter each time:
- diskpart
- list disk
- sel disk 0
Step 2: When the message 'Disk 0 is now the selected disk' shows up, type: list vol and hit Enter.
Diskpart will now show the full list of volumes on your PC, find UEFI volume from the list: UEFI partition will be on Volume 2.
Step 3: Type below command and hit Enter each time:
- sel vol 2
- set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
- Or SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
Step 4: Assign drive letter by typing below command and click Enter:
- assign letter=G: (Note: G shall be a unique drive letter which cannot be already used.)
3 - Repair the Boot Record
- Step 1: Open Command Prompt as administrator, enter below command:
- cd /d G:EFIMicrosoftBoot
- Note: G is the drive letter you signed to UEFI partition and remember to replace G with UEFI's partition letter.
- Enter: exit when the process completes.
- Step 2: To repair the Boot Record, open CMD and enter below command line:
- bootrec /fixboot
- Enter: exit when the repair process completes.
4 - Rebuild the BDC Store
Step 1: Type each command line and hit Enter each time:
- ren BCD BCD.old
- bcdboot C:Windows /1 en-us /s G: /f ALL (Note: c: is the drive where Windows 10/8.1/8 is installed on.)
Windows 10 Boot Editor
Step 2: Type: exit in Command Prompt when the process completes and then restart your PC.
Now UEFI boot is fixed and Windows 10/8/7 can be boot up on your PC again.
Method 2. Use Automatic Repair to repair Windows 10/8/7 UEFI
Windows Automatic Repair is a built-in tool for users to apply and try to fix some normal errors on Windows PC. And you may also try this method to repair Windows 10, 8 or 7 UEFI/EFI boot error:
1- Boot up Windows from Installation media
Step 1: Insert Windows 10/8/7 installation disk or USB to your PC.
Step 2: Restart PC and boot from the disk or USB.
2 - Enable Automatic Repair option
Step 1: Click Repair your computer at the Install now screen.
Step 2: Click Troubleshoot at Choose an option screen > Click Automatic Repair.
Step 3: Choose an account from the list to continue at the Automatic Repair screen and wait for the process to finish.
When the process completes, you can restart your PC and then you should be able to use your computer without any problems again.
Final Word
UEFI boot error frequently occurs to Windows 10, 8 and some Windows 7 users. If you have come across such a problem, relax and follow the provided two methods on this page to get rid of this issue.
Sometimes dual-booting a system is a handy way to test new software, a new operating system, or an application that needs to be run in a specific version of Windows. Other reasons to dual-boot might include replication of a client environment.
Windows handles dual-booting by using boot.ini to display a menu of bootable choices or partitions found on the current system. In Windows Vista and later versions of Windows, the bootloader was moved from boot.ini to a utility called BCDEdit.
Recently, I decided I could make better use of some disk space that I had set aside to create a bootable VHD for Windows Server 2008 R2. There was no data other than the OS installation contained within the file because I had used it only to prepare a blog post about booting from Virtual Hard Disks. To free up the space, I deleted the VHD.
Note: Always make sure to back up any data that you want to keep before deleting or modifying partitions on VHDs. Your changes could make the partition unbootable.Once I had the VHD removed, I thought Windows would be smart enough to clean up the boot loader, but I was not so lucky. I had Windows 7 set as the primary OS, so I was not without a system.
I started looking around for boot.ini and was directed toward the Boot Configuration Data Editor (BCDEdit) as the utility to use when editing boot loader information in Windows 7 (and in Vista too).
To begin, open the Start menu, select All Programs, and then choose Accessories. Right-click on Command Prompt and select Run As Administrator. Once in the command window, type bcdedit. This will return the current running configuration of your boot loader, showing any and all items that can boot on this system.
In this example, I decided to remove the entry for my Windows 2008 R2 installation, as I wouldn't need it for the time being. To remove an entry, you will need to know the Boot Loader Identifier (found in curly braces in Figure A).Figure AI copied the whole list into Notepad and then selected and copied just the ID, braces included.
Removing an entry from the Boot Loader
One simple command got the Windows Server 2008 R2 entry out of the boot loader. At the command prompt, enter the following:
Bcdedit /delete {boot loader identifier}
Press Enter, and the Boot Configuration Data Editor (BCDEdit) will remove the entry for the ID you specified and display a message when finished. When Windows starts, the only choice available in the boot menu should be the current Windows installation.