Scan
Scan
configures the scheduled scan that Microsoft Defender runs. Microsoft Defender is an application that can prevent, remove, and quarantine malware (malicious software) and spyware.
Child Elements
Setting | Description |
---|---|
ScanParameters | Specifies whether to run a quick scan or a full system scan during a scheduled scan. |
ScheduleDay | Specifies the day of the week to run a full system scan. |
ScheduleTime | Specifies the time of day to run a scheduled scan. |
Valid Configuration Passes
oobeSystem
offlineServicing
specialize
Parent Hierarchy
Security-Malware-Windows-Defender | Scan
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 configure the scheduled scan properties.
<Scan>
<ScheduleDay>0</ScheduleDay>
<ScheduleTime>120</ScheduleTime>
<ScanParameters>1</ScanParameters>
</Scan>