It could certainly be done in XP, not sure if it works on later OS's
Avast settings/troubleshooting/disable self protection
Windows msconfig, disable the avast service and startup program. (changes the Windows startup to "selective")
Restart the system