Defender not scanning mapped drive

  • Thread starter Thread starter darryl681
  • Start date Start date
D

darryl681

Guest
Hi,


I'm trying to schedule scanning mapped drives using Defender via the command prompt and task scheduler.


The command i'm using is:


"C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2005.5-0\MpCmdRun.exe" -Scan -ScanType 3 -File "E:\Archive"


I'm getting the following error when trying to scan


Scan starting...

CmdTool: Failed with hr = 0x80508023. Check C:\Users\uoh0079\AppData\Local\Temp\MpCmdRun.log for more information


and the log file says:




MpCmdRun: Command Line: "C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2005.5-0\MpCmdRun.exe" -Scan -ScanType 3 -File "E:\Archive"

Start Time: ‎Thu ‎Jun ‎18 ‎2020 16:07:54



MpEnsureProcessMitigationPolicy: hr = 0x1

Starting RunCommandScan.

INFO: ScheduleJob is not set. Skipping signature update.

Scanning path as file: E:\Archive.

Start: MpScan(MP_FEATURE_SUPPORTED, dwOptions=16385, path E:\Archive, DisableRemediation = 0, BootSectorScan = 0, Timeout in days = 1)

MpScan() started

Warning: MpScan() encounter errror. hr = 0x80508023

MpScan() was completed

ERROR: MpScan(dwOptions=16385) Completion Failed 80508023

MpCmdRun.exe: hr = 0x80508023.

MpCmdRun: End Time: ‎Thu ‎Jun ‎18 ‎2020 16:07:54




I can scan the C drive using the same command and i can also scan the E drive using the GUI. I have access to the drive, so don't think it's permissions. Can anyone suggest what i can try to get this work?

More...
 

Similar threads

J
Replies
0
Views
317
JørgenJohanson
J
A
Replies
0
Views
390
Andrew B. Painter
A
M
Replies
0
Views
118
minecrafter2973
M
Back
Top