The “.avastconfig” file would have to have been created by you by clicking on the “Back Up Settings” beforehand.
On the Troubleshooting tab of Avast, there is the option to “Restore factory defaults”. Click on the chevron and you will able to uncheck either the program settings or shield settings.