Loading...

Knowledge Center


How to perform a VirusScan Command Line scan in Microsoft Windows
Technical Articles ID:   KB51141
Last Modified:  5/4/2018
Rated:


Environment

McAfee VirusScan Command Line Scanner (VSCL) 6.1.x
McAfee Anti-Virus Scanning Engine
McAfee DAT
McAfee Beta DAT

Summary

Usually, VirusScan Enterprise (VSE) and Endpoint Security (ENS) On-Demand Scans are performed through the VSE or ENS Console. But, sometimes you need to run a scan with strictly required programs. Some situations that might require this include scanning a computer:
  • Before installing VSE or ENS, to ensure it is clean
  • If it is infected and you are unable to load VSE or ENS
  • When VSE or ENS does not install successfully
Recent updates to this article:

To receive email notification when this article is updated, click Subscribe on the right side of the page. You must be logged on to subscribe.
Date Update
May 4, 2018 Removed references to VSCL 6.0.x EOL
Added
  • Endpoint Security (ENS)
  • Added VSCL 6.1.x

Solution

Use the following steps to perform a VirusScan command-line scan in Microsoft Windows.

NOTES
  • Sometimes you might need to run the command-line scan in Safe Mode.
  • McAfee recommends that you delete all temporary files from your computer before running any scan. These files include ones in the temp folder, temporary Internet files, Internet history, and cookies.
 
  1. Download the latest VSCL from the Product Downloads site. The VSCL has the most up-to-date generic drivers. 

    McAfee product software, upgrades, maintenance releases, and documentation are available from the Product Downloads site at: http://www.mcafee.com/us/downloads/downloads.aspx.

    NOTE: You need a valid Grant Number for access. KB56057 provides additional information about the Product Downloads site, and alternate locations for some products.

    If you do not have a license for VirusScan CLS, contact Technical Support. See the Related Information section for contact information.

     
  2. Create a folder on the root of your primary partition. In this example: c:\scan\.
  3. On the infected computer, extract the contents of vscl-w32-6.0.x-l.zip (Where 'x' is the present version available) to c:\scan\.
  4. Download the latest beta DAT file.
    To download a DAT, Engine, XDAT, or Stinger file, go to https://www.mcafee.com/enterprise/en-us/downloads/security-updates.html.

    You might need to download these files if your automated update fails, or if you want to use an Extra.DAT on an infected system.

     
  5. Extract the contents of avvwin_netware_betadat.zip to c:\scan\ and overwrite the existing files.
  6. Click Start, Run, type cmd and press ENTER.
  7. Navigate to c:\scan, type the following command, and press ENTER: 

    scan.exe /adl /all /analyze /clean /program /unzip /winmem /rptall /report=c:\scan.log

    This command starts a complete system scan, which is a best practice.

Rate this document

Glossary of Technical Terms


 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.