Question: Problem #1: Hello, so I messed up my Windows(while removing dual boot with ubuntu) once and it wouldn't start so I had to install using a flash drive, during installation I deleted the EFI partition and the free space is still there but windows made another EFI partition and now I have free space and then EFI partition for windows. How do I move it to that free space?[Image below RED]

Problem #2: I installed ubuntu again and I messed up with diskpart while moving my partitions and it accidentally deleted boot/efi/grub although I still get grub and it shows a bunch of options but nothing works and I had to manually change the boot order to windows so I can boot into windows and use my laptop. Now, the problem is how do I remove grub safely, also it still shows in disk management as healthy EFI partition - Image below GREEN.
[![enter image description here](https://i.stack.imgur.com/qS11B.jpg)](https://i.stack.imgur.com/qS11B.jpg)

Answer: 
So, I solved this thing on my own. Here's how it goes - First of all the EFI partition I'm talking about in Problem #1 turns out that it's not EFI partition but it's Win Recovery Tools and I deleted them during my fresh windows install and the memory left before them, I merged it with my C drive using AOEMI partition tool and then for Problem #2- it's actually fairly simple - 
1) Start Powershell with admin privileges.
2) write "diskpart"
3) write "list disk" and "sel disk #(disk number)"
4) write "list vol" and choose the volume with FAT32, it should be generally around ~100MB 
5) write "ASSIGN LETTER=S:"
6)write "exit"
6) "cd /S"
7) "ls" and select "cd EFI"
8) "ls" and delete ubuntu by command "rm -r ubuntu"
And, that's it that will solve both my problems!
You can use disk partition software like partition magic that can help you remove the Linux partitions and make it unpartitioned space. Post making unpartioned format it as NTFS and it will be merged with windows.

You can use the free version of partition magic for this.