sdax2
asked on
Windows Defender command line options
Is there a way to run Windows Defender from the command line, or script it to run with an VBS script?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I altered it a bit and use it this way.
"C:\Program Files\Windows Defender\MSASCui.exe"
"C:\Program Files\Windows Defender\MpCmdRun.exe" Scan -ScanType 1 -SignatureUpdate
It launches the GUI so that you can see the progress first.
"C:\Program Files\Windows Defender\MSASCui.exe"
"C:\Program Files\Windows Defender\MpCmdRun.exe" Scan -ScanType 1 -SignatureUpdate
It launches the GUI so that you can see the progress first.
Q: How do I start a scan from a command line prompt?
A: Command line arguments for main executable: *.exe -scan -schedule -withui -withresultsui (not fully verified; scan appears to work).
http://wiki.castlecops.com/Security_Product_FAQ:_Microsoft_Windows_AntiSpyware