(Assuming you haven't turned off the computer after running those commands.)
If you're still in the Diskpart environment, please run:
exit
This exits from the Diskpart environment.
Then, run the following:
xcopy /h Y:\EFI\Microsoft\Boot\BCD D:\
format Y: /fs:FAT32 /q
bcdboot D:\Windows /s Y: /f UEFI
Post the output.
Note: When you're prompted for the volume label when running the 'format' command, type "ESP" and press Enter.