Hi,
I had tried to reproduce the situation but for me Avast works OK .
Could you please find more information about it in the Windows event logs ? :