Launch Startup Scan from a command window
Start > cmd
as Administrator
Type in the command shell:
cd c:\Program Files\AVAST Software\Avast
or go to the folder where Avast is installed.
Write Command:
sched /A:*
Responds:
Scheduled
restart the computer using the command:
shutdown /r
Avsat scans computer before Windows starts.