As far as I’m aware avast doesn’t disable Windows Defender, that is the operating system that does that when you install a 3rd party AV.