I can't comment on Windows Defender since I don't use the
program. As for the free edition of AVG, the following works on
my system running version 7.5.
Go to Control Panel and double click Scheduled Tasks.
Double click "Add Scheduled Task".
Hit the Next button.
In the Applications box, click on AVG Test Center.
Hit the Next button.
Select how often and when you want the scan to run.
Enter your password twice.
Note: By default, Task Scheduler requires that the account the
task is running under must have a non-blank password. There are
ways around this but I wouldn't advise using them.
Hit the Next button.
Put a check mark in the box next to "Open advanced properties
for this task when I click Finish".
This should bring up the Properties sheet for this task.
On the Task page, look next to Run. You should see something
like C:\Progra~1\Grisoft\AVG7\avgw.exe.
Click in this box and hit the space bar.
Now enter the following after avgw.exe.
/test=test plan in basic mode
The entire command should end up looking similar to this. Note
the space between avgw.exe and /test.
C:\PROGRA~1\Grisoft\AVG7\avgw.exe /test=test plan in basic mode
Next, click on the Settings tab.
At the bottom, put a check mark in the box next to "Wake the
computer to run this task".
Click OK.
Note: If you have AVG Pro, you can configure custom designed
scans to run. To schedule one of those scans you would simply
change what's entered after /test= to point to the name of your
custom scan.
Keep in mind that if you don't find a way to run Defender when
your computer is on standby, there are workarounds. The
easiest would be to schedule a simple task that will wake up
the computer right before you want to run the scan. Something
as simple as opening and closing a command prompt window,
cmd.exe /C, will suffice as long as you configure the task to
wake the computer on the Settings page.
Good luck
Nepatsfan
In