I ran into a problem with my EFI partition after a security update, KB5079473, kept failing. I thought the issue was that my EFI partition was too small at 100MB, so I created a new one at 512MB. I followed the steps to recreate the bootloader and deleted the old partition. Now, Windows won't boot and I'm stuck at the spinning wheel. I've attempted several fixes using my installation USB with tools like diskpart, bcdboot, and bootrec, but nothing seems to work. I'd rather not do a fresh install if there's a way to save my current setup. Any help would be greatly appreciated!
2 Answers
If you have the installation media, you can use the command:
1. Boot from the USB.
2. When you get to the recovery screen, select 'Repair your computer'.
3. Open Command Prompt and use the bcdboot command for the EFI partition.
It should help rewrite the boot files. I've seen others have success with this. Make sure your new partition is formatted as FAT32 and mounted correctly. If that doesn't work, some have suggested trying the original partition size.
I had a similar issue with the EFI partition. I ended up having to recreate it again but this time made sure to keep it the same size as the original 100MB. I know it seems odd since you increased the size, but sometimes Windows prefers the default setup for certain partitions. Might be worth a try!
That's interesting! I'm trying to figure out if the size really matters. I thought increasing could help because of the failed update, but maybe I should consider going back to the original size too.

I've given that a shot multiple times! It says it's successful, but it still won't boot. I have all my files intact on the C: drive. Just baffled by why bootrec says there are 0 installations when they should be there. Maybe the new partition placement is causing issues?