Grub rescue after removing Ubuntu? [duplicate]

You need to use a windows installation cd and restore the bootloader on the MBR through the recovery environment or using the startup repair option under advanced settings. Here is a guide http://www.redmondpie.com/how-to-fix-windows-8-mbr-master-boot-record/

Related support article: (unfortunately I could only find one for ~windows 7 but the previous guide is very straightforward) http://support.microsoft.com/kb/927392#method1


Here is what you need to do:

  1. Burn an Ubuntu ISO image onto a USB drive or a DVD to make a live USB/DVD.
  2. Boot into live mode ("Try Ubuntu" option).
  3. After it boots up, press Ctrl+Alt+T to bring up the Terminal.
  4. Put these codes ONE AFTER ANOTHER.
    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install boot-repair
    
  5. After doing this, open the "Dash" (Search menu). It can be accessed by Alt+F2
  6. Search for "Boot Repair" (Although just entering Boot will give you the app).
  7. Open it and select the only option (Recommended one).
  8. Reboot. You will no longer get the GRUB Error after this, and will boot straight into Windows.

You can also do it with Ubuntu installed. In case you want to uninstall Ubuntu, first follow the above instructions, then after you are in Windows, install EaseUS Partition Manager and delete the Ubuntu partitions (the ones that are NOT NTFS formatted).