I have a dual boot pc and i accidentally installed a program which has made my bootmgr of windows 7 corrupt. I have access to ubuntu though. Is there any way that i can uninstall that program from windows 7 using ubuntu ?
As far as I know, once your boot manager is corrupt, there is no way to revert it without a backup. Windows Repair might help, but since this is not a generic problem it might not work. Even if you could uninstall the program via Ubuntu, which you can, manually, I don't think it will fix your bootmgr error.
You can take a look here too. It may solve your issues.
In short: No.
You cannot uninstall any Windows program from Ubuntu. However, you can delete the files related to that program, but if the program has already done damage, you won't be able to repair the damage just by deleting the program files.
If you've dual boot (Windows with Ubuntu) and boot manager is damaged means that you've to reinstall GRUB. To install GRUB, boot from an Ubuntu LiveUSB, open a terminal and run: