Page 1 of 2 12 LastLast
  1.    4 Weeks Ago #1
    Join Date : Aug 2014
    Posts : 165
    Windows 10 Home

    Scheduled Defender Scan Does Not Run


    Quite a while ago I created a Scheduled Task to run a daily manual Defender Quick Scan. It worked fine until the recent Creator's Update/Defender Update (not sure which messed it).

    I know some things changed with Defender and its path but I can't figure out what to change or how to get a scheduled Task created to run a Defender Scan. Since I have the Defender Scan as part of maintenance disabled (I did not need the duplication of effort) Defender doesn't scan my computer. Why does MS always have to mess things up. If anyone knows how to create a Task to run a Defender scan please let me know.
      My ComputerSystem Spec
  2.    4 Weeks Ago #2
    Join Date : Oct 2013
    Posts : 26,571
    64-bit Windows 10 Pro build 17074

    Hello bru,

    You might see if the method used in the tutorial may be able to help any.

    Schedule Scan in Windows Defender Antivirus in Windows 10 Security System Tutorials
      My ComputersSystem Spec
  3.    4 Weeks Ago #3
    Join Date : Aug 2014
    Posts : 165
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by Brink View Post
    Hello bru,

    You might see if the method used in the tutorial may be able to help any.

    Schedule Scan in Windows Defender Antivirus in Windows 10 Security System Tutorials
    Used that to create the task a while ago. And like I said it worked fine until the dual updates. Now it doesn't.

    I'm curious if anyone who did the same (created a task for a scheduled Defender scan) is or isn't having the same issue? I've heard others report it on another forum.
      My ComputerSystem Spec
  4.    3 Weeks Ago #4
    Join Date : Aug 2016
    Posts : 108
    windows 10 Home ver 1709

    @bru
    Running Ver 1709.

    I have posted here before stating that automatic maintenace does not run on my PC. Never has.
    So I created a manual scan under Ver 1607.. It continues to work ok.
      My ComputerSystem Spec
  5.    3 Weeks Ago #5
    Join Date : Aug 2014
    Posts : 165
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by Jeddie View Post
    @bru
    Running Ver 1709.

    I have posted here before stating that automatic maintenace does not run on my PC. Never has.
    So I created a manual scan under Ver 1607.. It continues to work ok.
    On four different PCs the manual scan I created that previously worked fine does not in v1709. Or at least I think it doesn't. It may work sporadically but even that is not consistent across devices. One just had the red triangle over the Defender icon since a scan had not been run in a while. And I do have periodic scheduled maintenance scans enabled as it seems its impossible to disable them anymore.

    Did you change something in the task for v1709? I'm guessing no. Can you post the "Actions" you are using in the task? Also, if you check your "Last Run Result" what does it say? I have verified that it says "Incorrect Function" but have been told a scan still runs. If true, for me it is not registering as a run scan in either the old Defender GUI or the new one.
      My ComputerSystem Spec
  6.    3 Weeks Ago #6
    Join Date : Aug 2016
    Posts : 108
    windows 10 Home ver 1709

    No I have not changed anything in the task.
    The Action I have in my scheduled task including the quotation marks = "C:\Program files\Windows Defender\\MpCmdrun.exe" Scan - Schedule job
    The job is shown as; 0x0 The operation has completed successfully.

    Just to be clear this is found in Task Schedule > Task Schedule Library > microsoft > windows > windows defender.
      My ComputerSystem Spec
  7.    3 Weeks Ago #7
    Join Date : Oct 2016
    Charlotte, NC
    Posts : 616
    Win10 Home x64 - 1709

    My default WD task returns 0x0 sometimes and 0x2 sometimes, which I think is normal if it tried to run and the PC wasn't idle. I even unchecked all the idle boxes, but doesn't seem to matter.

    I was just looking at the default WD task and this seems new for the Program (Arguments are the same IIRC).
    Program > C:\ProgramData\Microsoft\Windows Defender\platform\4.12.17007.17123-0\MpCmdRun.exe
    Arguments > Scan -ScheduleJob -ScanTrigger 55
    Runs under System Account

    I also added my ow WD task that runs every day at 6:00AM and always completes successful with 0x0.
    Program > "C:\Program Files\Windows Defender\MpCmdRun.exe"
    Arguments > -SignatureUpdateAndQuickScan
    Runs under System Account

    Note: When I first setup my WD daily task (before 1709 and running under the System Account) it wouldn't complete successful and I want to say it returned the "incorrect function", but I just don't remember. I had to use my Local Account and I had to add my Local Account to Windows Credentials > Generic Credentials. I actually just switched it back to System Account a couple days ago, to see if it would complete successful and if not, what return code it gave. Thought maybe I could verify that "illegal function", but no luck ... it completed successful.
      My ComputersSystem Spec
  8.    2 Weeks Ago #8
    Join Date : Aug 2014
    Posts : 165
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by Jeddie View Post
    No I have not changed anything in the task.
    The Action I have in my scheduled task including the quotation marks = "C:\Program files\Windows Defender\\MpCmdrun.exe" Scan - Schedule job
    The job is shown as; 0x0 The operation has completed successfully.

    Just to be clear this is found in Task Schedule > Task Schedule Library > microsoft > windows > windows defender.
    That is the built in maintenance scan. You apparently modified the built in task. I am taking about creating a new task to run a scheduled scan.

    Quote Originally Posted by Eagle51 View Post
    My default WD task returns 0x0 sometimes and 0x2 sometimes, which I think is normal if it tried to run and the PC wasn't idle. I even unchecked all the idle boxes, but doesn't seem to matter.

    I was just looking at the default WD task and this seems new for the Program (Arguments are the same IIRC).
    Program > C:\ProgramData\Microsoft\Windows Defender\platform\4.12.17007.17123-0\MpCmdRun.exe
    Arguments > Scan -ScheduleJob -ScanTrigger 55
    Runs under System Account

    I also added my ow WD task that runs every day at 6:00AM and always completes successful with 0x0.
    Program > "C:\Program Files\Windows Defender\MpCmdRun.exe"
    Arguments > -SignatureUpdateAndQuickScan
    Runs under System Account

    Note: When I first setup my WD daily task (before 1709 and running under the System Account) it wouldn't complete successful and I want to say it returned the "incorrect function", but I just don't remember. I had to use my Local Account and I had to add my Local Account to Windows Credentials > Generic Credentials. I actually just switched it back to System Account a couple days ago, to see if it would complete successful and if not, what return code it gave. Thought maybe I could verify that "illegal function", but no luck ... it completed successful.
    The action for my created scheduled task to run a Quick Scan is a bit different, has to do with UI iirc from when I set it up. Interestingly two computers yesterday ran the scheduled scan and gave me the notification in the action center, which has not been occurring since the 1709 update. Doesn't look like anything changed in Defender in terms of another update so not sure why.
      My ComputerSystem Spec
  9.    2 Weeks Ago #9
    Join Date : Aug 2016
    Posts : 108
    windows 10 Home ver 1709

    Quote Originally Posted by bru View Post
    That is the built in maintenance scan. You apparently modified the built in task. I am taking about creating a new task to run a scheduled scan.
    No Bru - I am referring to a Task I created. As I sadi the automatic (built- in) scan does not work for me. Thats why I created my own task.
      My ComputerSystem Spec
  10.    2 Weeks Ago #10
    Join Date : Aug 2014
    Posts : 165
    Windows 10 Home
    Thread Starter

    Quote Originally Posted by Jeddie View Post
    No Bru - I am referring to a Task I created. As I sadi the automatic (built- in) scan does not work for me. Thats why I created my own task.
    Interestingly my scheduled scan has worked the last two days. Nothing changed on my end so I wonder if something happened behind the scenes.
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Defender Scheduled Tasks Not Running Since Creators Update
Like the title says. The top task I manually ran and then stopped it. I do get a quick scan to run based on a separate task. Other computers not updated to Creators all run these tasks daily as this one did prior to the update. They are listed...
AntiVirus, Firewalls and System Security
Windows Defender Default Scheduled Task - Looking For Information
I'm looking for some information. If your on 1703, using Windows Defender and it's Default Scheduled Scan. The Last Run Results always shows 0x2 (Failed) ... no matter how the action is run (automatic or manual) Could you check your Windows...
AntiVirus, Firewalls and System Security
Windows Defender Showing Items Skipped During Scan after each scan
Hi All Trying Windows Defender to see if I can get used to it and how it affects performance and such, but after each scan popups and says items skipped during scan, my exclusions for Secondlife game, which is required to have it run properly. ...
AntiVirus, Firewalls and System Security
Solved Scheduled Defender Definition Updates Not Completing After AU
Going back to Windows 8 I have created a task to manually update Windows Defender definitions on a schedule. This is fairly straightforward as detailed here Auto update Windows Defender and here...
AntiVirus, Firewalls and System Security
Defender: Disabled Real time; keep scheduled and on demand
I just upgraded to Win 10 (RTM build). I have disabled the AV (Defender, why did they go back to the old name?) real time protection because I do not run it, never did and have never gotten a virus (and I've had a computer for 30 years). I was...
AntiVirus, Firewalls and System Security
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 05:29.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums