How to Restore the Windows 7 MBR (Master Boot Record)

So I had this crisis where the MBR got broken and Windows would not boot. This can happens for many reasons, maybe