Share via

How to repair the efi partition on PC after the Windows UEFI CA 2023 certificate is applied?

Jim Whitaker 211 Reputation points
2025-10-11T03:37:00.0966667+00:00

I currently use:

bcdboot C:\windows /s S: /f UEFI

But after the Windows UEFI CA 2023 certificate is applied how would you repair or recreate the efi partition?

Microsoft has instructions for boot media here:

https://support.microsoft.com/en-us/topic/updating-windows-bootable-media-to-use-the-pca2023-signed-boot-manager-d4064779-0e4e-43ac-b2ce-24f434fcfa0f

But I can't find any articles on repairing the the PC efi partition.

Windows for home | Windows 11 | Recovery and backup
0 comments No comments

Answer accepted by question author

  1. Emmanuel Santana 38,850 Reputation points Independent Advisor
    2025-10-11T07:05:00.2866667+00:00

    Hello. To rebuild the EFI partition after the Windows UEFI CA 2023 certificate is applied, use current Windows 11 installation media (build 22621.2500 or newer):

    1. Boot from Windows 11 setup media and open Command Prompt (Shift + F10).
    2. Run:
         diskpart
         list vol
         sel vol <EFI volume number>
         assign letter=S:
         exit
      
    3. Format the EFI partition:
         format S: /fs:FAT32 /q
      
    4. Recreate the boot files using the updated signed components:
         bcdboot C:\Windows /s S: /f UEFI
      
    5. Restart the PC and verify Secure Boot completes without signature errors.

    If Secure Boot still fails, clear and re-enroll platform keys (PK/KEK/DB) in the firmware, then repeat step 4.

    For reference: https://support.microsoft.com/en-us/topic/d4064779-0e4e-43ac-b2ce-24f434fcfa0f

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.