Saturday, September 4, 2010

Command line scanner in the OfficeScan client

Here are the options that you can use:


Option

Function

/?

Displays the “Help”

/S

Scan all files in specified directory and all subdirectories

/C

Clean virus-infected files without any prompting

/D

Delete virus-infected files without any prompting

/B

Scan boot/partition area only

/P

Scan hard disk partition only

/NM

Do not scan memory

/NB

Do not scan boot sector/partition are of disk

/NC

Scan only, do not take any action on virus files

/BK[+|-]

Clean virus-infected files backup switch

/P=path

Specify virus pattern path

/P=file[;file...]

Specify virus pattern file(s)

/LAPPEND

Open LOG file with append mode

/LR[=file]

Write standard report to the specified file

Default name “report.log”

/LD[=file]

Write detected files to the specified file

Default name “detect.log”

/LU[=file]

Write undetected files to the specified file

Default name “undetect.log”

/LC[=file]

Write clean results to the specified file

Default name “clean.log”

/LCF[=file]

Write clean fail results to the specified file

Default name “cfail.log”

/VER

Display the version information

/I

Display more information about scanning results

/NV

Only display the files without virus infection

/CLEANALL

Scan and clean the file until no virus is found

/HOSPITAL=path -

Move the virus files to specific directory

/DISKIMAGE[=drive]

Scan disk images (with or without restoring)

/NZ

Do not scan zip files (e.g. PKZIP, ARJ)

/NLITE

Do not scan pklite files (e.g. PKLITE, LZEXE)

/NMICE

Do not scan some softmice files

/NMACRO

Do not scan macro files (e.g. DOC, XLS)

/NJAVA

Do not scan java files

/NSCRIPT

Do not scan script files

/NGENERIC

Do not use generic scan

/ZIPACTION

Enable zip virus action in callback

/ZIPBREAK

Enable zip virus break in callback

/VSCHAR=n

Set character environment type from “n”

(1: Traditional Chinese; 2: Japanese)

/VSZIP=n

Set decompress layer

/ACTIVEACTION=n

Enable Active Action and se the ProjectID

/VSTEMP=path

Set the default temporary path

/VSEXT=file

Set/Add process extensions from file

/VSEXEXT=file

Set/Add exclude process extensions from file

/VIRUSNAME

List all detectable virus name (n: # to read)

/UNICODESCAN

Scanning and cleaning with Unicode files

/Q

Disable all output message

/RENAME

Rename virus-infected files without any prompting


Product:
OfficeScan - 10.0, 7.0, 7.3, 8.0
Operating System:
Windows - 2000 Server Series SP4, 2003, 2003 Server Series SP1, Server 2008 Enterprise, Server 2008 Standard, Vista, XP


Solution: Yes, the OfficeScan client has a command line scanner called VScanTM. You can run this from the OfficeScan client program file location:



vscanwin32 [/|-option] Drive:[path[filename|@script]] [Drive:[path[filename]]

No comments: