Lee is right… For sure your avast installation is not good.
Did you disable the firewall to install avast?
Did you install it by an administrator account?
Did you have, even in the past, any other antivirus installed?
Last, did you try to repair your avast installation through Control Panel?