I installed ubuntu on my Windows 7 pc. Automatically it used the GRUB bootloader. Then I learnt how to use VirtualBox. I have no need for Ubuntu. So can I delete Ubuntu and GRUB while leaving Windows 7 alone?
You cannot delete GRUB without then fixing the MBR on Windows 7.
Fixing the MBR:
If you've lost your original CD, get the live CD at http://www.hiren.info/pages/bootcd
You can still Enter recovery even while Grub/Grub2 Is Still Installed You Must Press F8 When Booting Pc And Select Windows After You Selected That Keep Pressing F8 And Slect repair your pc Enter the keyboard format and select the admin user eneter the pass and press ok you should see a recovery menu with Command Promt(CMD) At the bottom.
If All Else Fails!
I solved the problem. Here is how I did it. WARNING, you may have to reinstall Linux / grub first!
Steps: (This is if nothing else works and it takes a long time)
1: Reinstall Ubuntu / Linux mint (This is only so you can use GRUB to boot into Windows, if you can boot into windows already, there is no need to reinstall GRUB).
1.5: Restart and boot into windows (if you can't boot to Windows, then live boot to linux from the CD or USB and run the following in a console:
Boot repair (If needed right now)
1g: Select recommended repair and follow the on screen instructions.
2g: After your done, reboot. You should see the grub menu, even though you can boot to Windows from here, this is not what we want yet... But find the option that boots into Windows.
2: Once your booted into Windows, run your disk partition editor and delete All partitions related to Linux / grub. Especially make sure the small grub partition is removed. Reboot
2.5: Make sure the windows loader is the first selected boot device. (most likely is). Disable the Ubuntu option. Continue boot.
3: If you've done everything right up to this point you should see (depending on your computer) your splash screen for a second and then it will turn into an error screen saying that there was an error with the boot. ("Winload.exe is missing or corrupted" most likly).
3.5: Don't be alarmed (I was). The next step will restore your original bootloader.
4: Restart and boot to your Linux CD or USB.
5: Once booted, run boot repair commands from above again. This time when running it. It will act differently, there is no grub bootloader detected to reinstall and should run faster than before.
6: Once complete, restart.
7: Enjoy your GRUB free system!
This worked for me when nothing else did, I ran bootrec.exe. Nothing worked. This saved my computers life. Hope it saves yours!