I am trying to scan a file for viruses using the Windows Defender instance that is included in a Windows Azure App Service using the Kudu Console. Here is the command I am running:
"%ProgramFiles%\Windows Defender\mpcmdrun.exe" -scan -scantype 3 -file "D:\local\test.txt" -disableremediation
And here is the error log that gets created:
-------------------------------------------------------------------------------------
MpCmdRun: Command Line: "D:\Program Files\Windows Defender\mpcmdrun.exe" -scan -scantype 3 -file "D:\local\test.txt" -disableremediation
Start Time: Thu Jun 04 2020 10:30:05
Starting RunCommandScan.
INFO: ScheduleJob is not set. Skipping signature update.
Scanning path as file: D:\local\test.txt.
Start: MpScan(MP_FEATURE_SUPPORTED, dwOptions=33558577, path D:\local\test.txt, DisableRemediation = 1, BootSectorScan = 0, Timeout in days = 1)
ERROR: MpScanStart(dwOptions=33558577) Failed 80010005
MpCmdRun: End Time: Thu Jun 04 2020 10:30:05
-------------------------------------------------------------------------------------