[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Windows Defender command line options

Posted on 2007-10-05
3
Medium Priority
?
6,920 Views
Last Modified: 2013-12-04
Is there a way to run Windows Defender from the command line, or script it to run with an VBS script?

Thanks

0
Comment
Question by:sdax2
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
KevinSHI earned 2000 total points
ID: 20022697
found that on google. I didnt test it.

MpCmdRun Scan -ScanType quick -SignatureUpdate

http://www.vistababble.com/forums/windows-defender/172-command-line-options-windows-defender.html
0
 
LVL 3

Expert Comment

by:KevinSHI
ID: 20022720
also found that

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
0
 

Author Comment

by:sdax2
ID: 20023376
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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
You cannot be 100% sure that you can protect your organization against crypto ransomware but you can lower down the risk and impact of the infection.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question