Upon detection
What leads you to the idea that avast is guilty for this…? Anyway, try booting to safe mode (keep pressing F8 at system boot to access the boot menu, and then choose ‘Safe Mode’).
Vlk