windows defender scheduled task error

Copper Contributor

Hello, I created the following task in task scheduler: "%ProgramFiles\%Windows Defender\ MpCmdRun.exe -Scan -ScanType2"
The task was running fine until the end of 2022. But now the task is no longer running and I have the following error code: 'The specified file could not be found. 0x80070002 '

Tank you for help.


7 Replies
are you running the scheduled task with admin privileges ?

@JMDaugas , i would suggest to delete the scheduled taks and recreate it maybe it was corrupted and that why is not running anymore 

Thanks, but I've already done that.
you can achieve the same using Intune by scheduling the full scan and target all your devices.
Merci pour cette information. Je vais essayer. Bonne journée.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.