1. Joined : Jan 2016
    Posts : 13
    Windows 10
       08 Feb 2016 #1

    Windows Defender Task Scheduler Action Arguments

    I've seen 2 ways to add the full scan argument to MpCmdRun.exe.
    The first is "-Scan -ScanType 2" (without the quotes).
    The second is "-Scan -ScheduleJob -ScanType 2" (without the quotes).
    I can't seem to find anything on the -ScheduleJob parameter.
    Can someone tell me about the -ScheduleJob parameter?
    Also, which of the two arguments is correct?

      My System SpecsSystem Spec

  2. Joined : Oct 2013
    Posts : 262
    Windows 10 Pro x64, Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64
       08 Feb 2016 #2
      My System SpecsSystem Spec

  3.    08 Feb 2016 #3

    The correct one would I suppose be without -ScheduleJob parameter as it is undocumented, not in help for the .exe and Microsoft will not (since 2010) say what it means except it is for "internal use". ScheduleJob, WinTask, RestrictPrivilegesScan command line parameters - Microsoft Community

    I tried both - they did the same as far as I could tell from command line. I'd leave the one in task scheduler as it is though...
      My System SpecsSystem Spec

  4. Joined : Jan 2016
    Posts : 13
    Windows 10
       08 Feb 2016 #4


    Thanks for the info.

      My System SpecsSystem Spec


Similar Threads
Thread Forum
Solved Task Scheduler Error: One or more specified arguments not valid
What is wrong with Task Scheduler on Windows 10? Here is where I add my task: 53088 53089 53090
General Support
Windows Arguments List - Start Programs Minimized with Task Scheduler.
Hello Community! I'm trying to get BBC iPlayer downloads to start automagically at 2100 so that it can start downloading Doctor Who. I'd like it to start minimized, but I am unsure how to do so. In addition to this, does anyone know if there...
Performance & Maintenance
How to show Command Prompt Window when running task in Task Scheduler?
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
General Support
Solved Action Button and Panel Missing From 'Task Scheduler'
Simple to state problem. My wife's machine, she has an 'action' button and 'action' panel on her 'task scheduler' window. There is no 'action' button on my 'task scheduler' window. Neither is there an 'action' panel on the right side of my 'task...
General Support
Solved Time Zone change causes error in Task Scheduler for every task
My issue is kind of strange. I am an insider currently on Windows 10 build 10240. All the build I have tried so far has this same error in task scheduler when I change my time zone to my current location which is kathmandu (UTC+5:45). When i change...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:06.
Find Us
Twitter Facebook Google+

Windows 10 Forums