Skip to main content

Enable Defender

Overview​

Enables / repairs Microsoft Defender Antivirus when Webroot or another active AV is not present.

Sample Run​

  • Navigate to Automation > Script
  • Search for Enable Defender
  • Click the Enable Defender after search result
  • Click Run

Sample Run 1

  • Click Run again to execute the script

Sample Run 2

Dependencies​

Custom Fields​

Field NameTypeMandatoryScopeDescription
cPVAL Enable Defender OnlyDrop-downfalseOrganization, Location, DeviceThis custom field is required to be set to enable defender only without ticket creation on failure.
cPVAL Enable Defender With Ticket On FailureDrop-downfalseOrganization, Location, DeviceThis custom field requires enabling Defender with ticket creation on failure.
cPVAL Defender Enable StatusTexttrueDeviceThis custom field stores the success or failure of the Enable Defender automation.

Automation Setup/Import​

Automation Configuration

Output​

  • Activity Details
  • Custom Field

Changelog​

2026-10-12​

  • Initial version of the document