avast should have disabled Windows Defender automatically.

Was this a clean install of avast or over the top?
Have you tried a repair?

Control Panel>Uninstall a Program>double click “avast”>click “repair”>reboot.