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
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:
For a custom location scan:
Ex:- mfeODS.exe D:\McAfee\
For more information on scanning options:
Please ensure you command prompt is opened as Administrator.
@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
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.
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?
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.
Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership: