I wish I knew how to fix system errors. The whole thing started when Avast deleted a rootkit, rebooted and got the blue screen 00000008E, C00000005, the other numbers change on each reboot.
I gave up. I erased the hard drive and re-installed Vista. Problem solved. Thanks for all your input.