Restoring rEFInd from Windows - acut3/hacking GitHub Wiki

Mount the ESP and find the location of the rEFInd binary (normally \EFI\refind\refind_x64.efi):

mountvol R: /S

Recreate the boot entry:

bcdedit /set "{bootmgr}" path "\EFI\refind\refind_x64.efi"
bcdedit /set "{bootmgr}" description "rEFInd"

After this bcdedit /enum should show rEFInd as the boot manager, and then the Windows boot loader. Reboot to the BIOS, and select rEFInd as the first boot option.