PC Review


Reply
Thread Tools Rate Thread

Commands for Defender scan using Task Scheduler

 
 
=?Utf-8?B?QnJ1Z2dpZQ==?=
Guest
Posts: n/a
 
      21st Feb 2007
I prefer to have all my scheduled system tasks centralised...so I'd like to
schedule a Defender scan using the *Vista's Task Scheduler*, rather than
configuring it with the scan options in Defender itself.

Can anybody tell me the correct command lines and switches to schedule a
*full* system scan which runs after *checking for updates*, and without the
GUI or user input etc? What other options should I set to ensure it runs
unattended in the middle of the night?

thanks
 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a
 
      22nd Feb 2007
"Bruggie" <(E-Mail Removed)> wrote in message
news:9FCD1BCC-07A2-45BA-B1B9-(E-Mail Removed)...
>I prefer to have all my scheduled system tasks centralised...so I'd like to
> schedule a Defender scan using the *Vista's Task Scheduler*, rather than
> configuring it with the scan options in Defender itself.
>
> Can anybody tell me the correct command lines and switches to schedule a
> *full* system scan which runs after *checking for updates*, and without
> the
> GUI or user input etc? What other options should I set to ensure it runs
> unattended in the middle of the night?
>
> thanks



Something along these lines

c:\program files\windows defender\MpCmdRun.exe Scan -RestrictPrivileges

--
Jon

 
Reply With Quote
 
=?Utf-8?B?QnJ1Z2dpZQ==?=
Guest
Posts: n/a
 
      22nd Feb 2007
Thanks for the reply. I'm doing it like this (a quick scheduled scan which
supposisdly checks for updates):
C:\Program Files\Windows Defender\MpCmdRun.exe Scan -ScanType 1
-SignatureUpdate

Does anyone know how get it to do a full scan of just the "C: drive"? The
The trouble is that the long scan takes about 5 hours because it gets trapped
in backup archives on my D: drive.



"Jon" wrote:

> "Bruggie" <(E-Mail Removed)> wrote in message
> news:9FCD1BCC-07A2-45BA-B1B9-(E-Mail Removed)...
> >I prefer to have all my scheduled system tasks centralised...so I'd like to
> > schedule a Defender scan using the *Vista's Task Scheduler*, rather than
> > configuring it with the scan options in Defender itself.
> >
> > Can anybody tell me the correct command lines and switches to schedule a
> > *full* system scan which runs after *checking for updates*, and without
> > the
> > GUI or user input etc? What other options should I set to ensure it runs
> > unattended in the middle of the night?
> >
> > thanks

>
>
> Something along these lines
>
> c:\program files\windows defender\MpCmdRun.exe Scan -RestrictPrivileges
>
> --
> Jon
>
>

 
Reply With Quote
 
Jon
Guest
Posts: n/a
 
      23rd Feb 2007
Don't think so. Can't see that option in its documentation.......


Windows Defender Command Line Utility (c) 2006 Microsoft Corporation
Use this tool to automate and troubleshoot Windows Defender

Usage:
mpcmdrun.exe [command] [-options]

Command Description
-? [h] Displays all available options for this
tool
-Scan [-ScanType] Scans for malicious software
-SignatureUpdate Checks for new definition updates
-Trace [-Grouping] [-Level] Starts diagnostic tracing
-GetFiles Collects support information
-RemoveDefinitions [-All] Restores the installed signature
definitions
to a previous backup copy or to the
original
default set of signatures
-GetSWE Exports information about software
installed
on your computer

Additional Information:

Support information will be in the following directory:
C:\ProgramData\Microsoft\Windows Defender\Support

-Scan [-ScanType]
0 Default, according to your configuration
1 Quick scan
2 Full system scan

-Trace [-Grouping] [-Level]
Begins tracing Windows Defender's actions. You can specify
the components for which tracing is enabled and how much information
is recorded for each component. If no level is specified,
the Error, Warning, Informational, and Assert levels will be logged.

[-Grouping]
0x1 Service
0x2 Malware Protection Engine
0x4 User Interface
0x8 Real-Time Protection
0x10 Scheduled actions

[-Level]
0x1 Errors
0x2 Warnings
0x4 Informational messages
0x8 Function calls
0x10 Assertions

-GetFiles
Gathers the following log files and packages them together in a
compressed file in the support directory

- Any trace files from Windows Defender
- The Windows Update history log
- All WinDefend or WinDefendRtp events from the
System and Application event log
- All relevant Windows Defender registry locations
- All software information from Software Explorer

-RemoveDefinitions
Restores the last set of signature definitions

-RemoveDefinitions -All
Rolls the signature definitions back to the default signature set,
version 1.0.0.0, and removes any installed signature and engine
files.
Use this option if you have difficulties trying to update
signatures.

-GetSWE
Exports the contents of Software Explorer into a file named
MPSWE.txt
in the support directory



--
Jon


"Bruggie" <(E-Mail Removed)> wrote in message
news:B20460C4-EA1A-4864-857D-(E-Mail Removed)...
> Thanks for the reply. I'm doing it like this (a quick scheduled scan which
> supposisdly checks for updates):
> C:\Program Files\Windows Defender\MpCmdRun.exe Scan -ScanType 1
> -SignatureUpdate
>
> Does anyone know how get it to do a full scan of just the "C: drive"? The
> The trouble is that the long scan takes about 5 hours because it gets
> trapped
> in backup archives on my D: drive.
>
>
>
> "Jon" wrote:
>
>> "Bruggie" <(E-Mail Removed)> wrote in message
>> news:9FCD1BCC-07A2-45BA-B1B9-(E-Mail Removed)...
>> >I prefer to have all my scheduled system tasks centralised...so I'd like
>> >to
>> > schedule a Defender scan using the *Vista's Task Scheduler*, rather
>> > than
>> > configuring it with the scan options in Defender itself.
>> >
>> > Can anybody tell me the correct command lines and switches to schedule
>> > a
>> > *full* system scan which runs after *checking for updates*, and without
>> > the
>> > GUI or user input etc? What other options should I set to ensure it
>> > runs
>> > unattended in the middle of the night?
>> >
>> > thanks

>>
>>
>> Something along these lines
>>
>> c:\program files\windows defender\MpCmdRun.exe Scan -RestrictPrivileges
>>
>> --
>> Jon
>>
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Deleting Windows Defender from Task Scheduler darkrats Windows Vista General Discussion 0 15th Aug 2009 03:56 AM
Task Scheduler will not Run Norton AntiViru Scheduled Scan =?Utf-8?B?S2lyaw==?= Microsoft Windows 2000 2 6th Oct 2005 03:27 AM
Task Scheduler Commands =?Utf-8?B?TUVQ?= Windows XP Security 1 25th Mar 2004 07:27 PM
virus scan task scheduler errors in script mac Windows XP Security 1 5th Jan 2004 03:19 AM
Re: DOS Commands Via Task Scheduler David Candy Windows XP Customization 0 2nd Jul 2003 05:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:07 PM.