I used ubuntu and windows in dual boot and deleted ubuntu so I ended up still having grub2. When I install secure boot this prevents grub2 from starting and I can boot into windows. When I disable secure boot (for example to boot a liveCD of ubuntu) it starts the grub2 command line (I think it is emergency mode) and I cant boot anything. I tried everything: I used a windows 10 repair dvd and used bootrec - didnt work I used several programs including easybcd, mbrfix, dbr, etc. - didnt work I tried using the bootsect in the cmd - didnt work I tried using grub2 to boot windows - didnt work
What else can I do to get rid of it? If you need anymore information feel free to ask. Thank you very much for your help