Support articles

Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.

How do I run a manual scan using the command line on WithSecure Server Security or Client Security?

Issue:

How do I run a manual scan using the command line on WithSecure Server Security or Client Security?

Resolution:

The command line option to execute a manual scan can be either used to run a scan on-demand. Additionally the command and the arguments can be used to fill the "Generic" scheduled scan task specific parameters.

To run the task locally via command line:
  1. Press the Windows button
  2. Search for cmd.exe and press Enter
  3. Navigate to the client's installation directory (for example: cd C:\Program Files (x86)\F-Secure\)
  4. For Client Security, navigate further to the Client Security directory. For Server Security, navigate to the Server Security directory.
  5. Type in fsscan.exe and add any of the below arguments/options, then press Enter
  6. The scan will be executed and further details will be returned in the command window

Example 1
Retrieving information on available options:

C:\Program Files (x86)\F-Secure\Client Security>fsscan -?

 

Usage: fsscan [options]

Options:

–sched, -s     Runs a scan optimized for scheduled scanning
–target, -t <target> Scans the given <target> (not supported since CS 15.11)
–report, -r <report> Writes an unformatted report to <report> file (only with -c)
–delete, -d Deletes all harmful files found
–collection, -c Runs a scan optimized for large collections of harmful files
–noflyer, -f Skip showing scheduled scanning flyer
-?, -h, –help Displays this help

Example 2
Scanning a specific directory (downloads directory of the user Foo):

C:\Program Files (x86)\F-Secure\Client Security>fsscan.exe -t C:\Users\Foo\Downloads\

 

Setting up a scheduled scan on a specific directory via Policy Manager Console:
  1. Log on to your Policy Manager Console.
  2. Select the Policy domain