Hi!
Is it possible to run scan certain file from command line?
Something similar to Windows Defender command:
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Scan -ScanType 3 -File "e:\Issues\myfile" -DisableRemediation
Thank you!
McAfee® Total Protection
Version: 16.0
Release Name: 16.0 R20
Hello @RuslanP
Thanks for providing the information.
Use the below command to get into the command line scanner location:
cd C:\ Program Files\McAfee\MfeAV\
Use any of the below command as required:
For full scan:
mfeODS.exe /FULL
For a custom location scan:
mfeODS.exe <location>
Ex:- mfeODS.exe D:\McAfee\
For more information on scanning options:
mfeODS.exe /HELP
Note:
Please ensure you command prompt is opened as Administrator.
Regards,
Karthik K
@Karthik_KThank you for answer!
I have tried the command you provided but faced with problem that scan couldn't be started:
Microsoft Windows [Version 10.0.17134.1006]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd "C:\Program Files\McAfee\MfeAV\"
C:\Program Files\McAfee\MfeAV>mfeODS.exe c:\Temp\AMSI_Test.exe
Started scanning...
Scanning is completed...
100% Complete Scanned: 1 Found: 0 Resolved: 0
Scanning cannot be started. Restart your system and try again.
If the problem persists, contact customer care.
C:\Program Files\McAfee\MfeAV>
I restarted my system and ran CMD as Administrator but got the same error.
Hi @Karthik_K !
It seems that I have found out the reason of the error.
I try to scan a certain file - not a folder.
Based on help from "mfeODS /?" there is no option for file scan.
So, I repeat my question - Is it possible to scan certain file, not a folder maybe with an another utility?
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA