I uninstalled Avast, and installed a different AntiVirus. The entire PC runs faster, and my programs now load in seconds instead of minutes.
I think if I reinstalled Avast it would be OK, I think just having it installed over a long period (2-3 years) it got confused during one of the upgrades.