Can we create/run the Task scheduler via Intune on devices to run Quick or Full Antivirus scan on devices everyday like a periodic scan so that those devices and Antivirus definitions are up-to-date and working as expected?

Vinod Survase 4,776 Reputation points
2023-09-19T15:27:33.8033333+00:00

Can we create/run the Task scheduler via Intune on devices to run Quick or Full Antivirus scan on devices everyday like a periodic scan so that those devices and Antivirus definitions are up-to-date and working as expected?

Microsoft Security Intune Security
Microsoft Security Intune Configuration
Microsoft Security Intune Enrollment
Microsoft Security Intune Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2023-09-20T02:17:43.4166667+00:00

    @Vinod Survase, Thanks for posting in Q&A. For Quick or Full Antivirus scans, you can set up regular, scheduled antivirus scans on devices using Microsoft Defender Antivirus. When you schedule a scan, you can specify the type of scan, when the scan should occur, and if the scan should occur after a protection update or when a device isn't being used. You can also set up special scans to complete remediation actions if needed. Microsoft Defender for Endpoint is mainly for such. Here is a link with more details for the refence:

    https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/schedule-antivirus-scans?view=o365-worldwide

    Therefore, we recommend you use Microsoft Defender for Endpoint to do this.

    However, if you still want Intune to do this, my thought is you need to firstly create the task scheduler which ca do Quick or Full Antivirus scans on one windows device, export the xml, write PowerShell script and then deploy it via Intune win32. Here is a link list an example to deploy task scheduler via Intune for your reference:

    https://credibledev.com/how-to-deploy-a-scheduled-task-in-intune/

    Note: non-Microsoft link, just for the reference.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.