I used the Windows Disk Management to delete the ubuntu partition, then re-partition the old space as an E: drive on the windows system. Now when I try to boot, I get an unknown filesystem error, then grub rescue starts.
I can get into windows using an Ubuntu OS drive I have and loading grub through it to boot windows, but how can I repair the computer so that I can boot windows without needing to use this flash drive?