ScanParameters

ScanParameters specifies whether to run a quick scan or a full system scan during a scheduled scan.

Values

1

Runs quick scan. This is the default value.

2

Runs full system scan.

Valid Configuration Passes

oobeSystem

offlineServicing

specialize

Parent Hierarchy

Security-Malware-Windows-Defender | Scan | ScanParameters

Applies To

For Windows Windows Server 2016 editions, Microsoft Defender is installed with the operating system.

For Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008, Microsoft Defender is installed with the Desktop Experience Pack.

For a full list of the Windows editions and architectures that this component supports, see Security-Malware-Windows-Defender.

XML Example

The following XML output shows how to specify that Microsoft Defender will run a quick scan during the scheduled scan.

  <ScanParameters>1</ScanParameters>

Security-Malware-Windows-Defender