Windows Defender Task Scheduler Action Arguments


  1. Posts : 13
    Windows 10
       #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?

    Wally
      My Computer


  2. Posts : 521
    Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1
       #2
      My Computers

  3. lx07's Avatar
    Posts : 5,479
    2004
       #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 Computer


  4. Posts : 13
    Windows 10
    Thread Starter
       #4

    OK


    Thanks for the info.

    Wally
      My Computer


 

  Related Discussions
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 17:15.
Find Us




Windows 10 Forums