WelcomeProducts & ServicesSecurity ResponseSupportSolutions & IndustriesLicensingTrainingStore
Enterprise
Symantec.com > Enterprise > Support > Knowledge Base


How to schedule a virus scan using the Windows Task Scheduler

Question/Issue:
This document shows how to schedule scans by using the Windows Task Scheduler.


Solution:
To schedule a scan by using the Windows Task Scheduler, you need to use the unsupported tool Vpscan.exe.
To learn how to obtain and use Vpscan.exe, read Vpscan.exe: A command-line scanner for Symantec AntiVirus.

You can schedule a single scan with Vpscan.exe using one of the following methods:



Note: You must have Internet Explorer 5.0 or later for Task Scheduler to work correctly.



Using Task Scheduler
The following steps show how to schedule a scan by using Task Scheduler on a computer that runs Windows 2003/XP/2000 and Symantec AntiVirus client.

To schedule a scan
  1. In the Windows Control Panel, double-click Scheduled Tasks.
  2. In the Scheduled Tasks window, double-click Add Scheduled Task.
  3. In the Scheduled Task Wizard window, click Next.
  4. Click Browse.
  5. In the Select Program to Schedule window, find the folder where you saved the Vpscan.exe file.
  6. In the Scheduled Task Wizard window, click Next.
  7. Type a name for the scheduled task, set the frequency, and then click Next.
  8. If you selected anything except "When I log on" or "When my computer starts", set the time for the scan to begin and click Next.
  9. Type the credentials for the user account under which the task should start and click Next.
  10. Check Open advanced properties for this task when I click Finish.
  11. Click Finish.
  12. On the Task tab, click the Run As field.
  13. Press the End key to move your cursor to the end of the line.
  14. Press the Space bar and then type the drive letter of the drive that you want to scan at the end of the line.
  15. Click Apply.
  16. Click OK to close the task window.

You must perform these steps for each scan that you want to run. For example, if you want to run a scan at 12:00, 1:00, and 2:00, you must create a task for each scan.


Using the Scheduler Service and AT commands
You can use the AT command to schedule scans each day. The AT command is dependent on the scheduler server; therefore the command is only available when the Task Scheduler service is started. Here is an example of the AT command that you might use:

AT \\<Computer name> <time> /every:m,t,w,th,f,sa,su "C:\Program Files\Symantec_Client_Security\Symantec AntiVirus\vpscan.exe <drive>" /s


Notes:

Vpscan.exe has several command-line options. For details, read Vpscan.exe: A command-line scanner for Symantec AntiVirus.



Document ID: 2003021916211948
Last Modified: 04/27/2006
Date Created: 02/19/2003
Operating System(s): Windows 2000, Windows XP Home, Windows XP Professional Edition, Windows XP Tablet PC, Windows Server 2003 32-bit Edition, Windows XP Media Center Edition 2005, Windows 98, Windows Me, Windows NT 4.0 SP6a
Product(s): Symantec AntiVirus 10.1, Symantec AntiVirus Corporate Edition 10.0, Symantec AntiVirus Corporate Edition 8.0, Symantec AntiVirus Corporate Edition 9.0, Symantec Client Security 3.0, Symantec Client Security 3.1
Release(s): SAV 10.0 [All Releases], SAV 8.0 [All Releases], SAV 9.0 [All Releases], Symantec AntiVirus 10.1 [All Releases], Symantec Client Security 3.1 [All Releases], Symantec Client Security 3.x [All versions]


Site Index · Legal Notices · Privacy Policy · · Contact Us · Global Sites · License Agreements
©1995 - 2009 Symantec Corporation