You show both Windows & Ubuntu installed in UEFI mode. But you also have a BIOS Windows type boot loader in the MBR. If you try to boot in BIOS/Legacy/CSM mode it will not work.
You also ran the Boot-Repair "buggy" UEFI. Best no to run that unless you have confirmed that you only can boot Windows from UEFI menu and no ubuntu entry will work. That renames the Windows boot file to really be shim or grub and boot to grub menu. Then you only can boot Windows from grub menu as the bkpbootmgfw.efi.
If you can boot ubuntu entry, in Boot-Repair:
To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.
You have the older version of grub that has the os-prober bug. Entries created by os-prober are the old BIOS type and will never work. They look like this:
Windows 8 (loader) (on /dev/sda4)
grub2's os-prober creates wrong style (BIOS) chain boot entry Fixed with 13.10
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1024383