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 : 524
    Windows 11 Pro x64, Windows 10 Pro x64
       #2
      My Computers


  3. Posts : 5,478
    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 23:35.
Find Us




Windows 10 Forums