Recently I ran into a problem where Windows would not boot correctly.  A blinking cursor shows up and after a few seconds the computer reboots itself and continues the same process in an infinite loop.

The problem stem from the fact that I re-imaged  this harddrive using another drive which had dual boot Ubuntu 12.04 and Windows 7, and that drive used GRUB bootloader to boot.  I used Acronis to image that drive onto this target drive which i’m having a problem with.  (I only selected to image the windows partitions, ignoring the Linux partitions).

To fix the problem and have it boot straight into windows (without using GRUB)…

1. create and use a “Windows Repair Disk” and boot from that repair disk.

2. followed the instructions from the disk and do all the startup repairs.

3. Finally you need to get into the command prompt which is an option in the repair disk and run the following commands.

4. bootrec.exe /FixMbr

5. bootrec.exe /FixBoot 

6. bootrec.exe /RebuildBcd

Reset the computer and it should now boot straight into windows without any problems.  Since this was formerly a dual boot, what do I do with the left over space which use to be used for Ubuntu?

I used GParted to resize and append the left over space back to my windows partition.