Run MbrFix.exe from floppy drive, optical disk drive or from USB and follow the on screen instructions.
Check your boot preference in BIOS settings and select optical drive as a first preference. Now insert bootable DVD of windows into your optical disk drive and restart the pc.
Once boot process is completed, you will have to set “Language”, “Time” and “Keyboard” preferences, best option is to set them to default settings and continue.
Now you will come up with several options. Click on the “Repair Your Computer” option, it will give you access to a window used for System Recovery. Now select command prompt from here. You need to get into the command prompt to to run Bootsect.exe utility. This utility is located inside the boot folder of windows. You need to change your current directory to boot folder. The syntax to change the directory is “CD [/D] [drive:][path]”.
Now execute “bootsect /nt60 C:/ “ without including the quotes assuming that you had windows 7 installed in C: drive. This will repair your windows partition. Eject your windows DVD and restart your computer.
Your windows will now boot normally.