Time to bite the bullet and do a clean reinstall of Windows (I assume that's your operating system), then make an image of your primary hard drive onto an external USB hard drive before reinstalling any programs. I use Acronis to do that, but I believe there are some good freeware alternatives. Then reinstall all your programs, and when everything is working normally, make another drive image before you do anything else.
If you do the above things, you can recover your working system in less than 20 minutes if things go awry at any time. It is advisable to create additional image backups of your current, well-running system from time to time, since some programs update automatically. Keep the older images, so you can always go back in time to a well behaved situation.