open your avast main program…go to menu…settings…common…see if the option to check CD in drive before logging off is untick