Windows 10: Windows 11 Windows Defender scheduled scan returns 0x2 error

Discus and support Windows 11 Windows Defender scheduled scan returns 0x2 error in Windows 10 Gaming to solve the problem; When the Windows Defender scheduled scan runs from Task Scheduler it does not complete and returns error code 0x2. This happens even if I run it... Discussion in 'Windows 10 Gaming' started by Rick_766, Apr 28, 2022.

  1. Rick_766 Win User

    Windows 11 Windows Defender scheduled scan returns 0x2 error


    When the Windows Defender scheduled scan runs from Task Scheduler it does not complete and returns error code 0x2. This happens even if I run it manually from scheduler. This happens on all three of my Windows 11 machines and so is not machine specific. I am currently up to date on all three machines. Windows Defender will run to completion if I run it from Windows Security under Virus and Threat Protection. I know this has been a lingering issue, dating back to at least Windows 10. Is there a known solution?Thank you.

    :)
     
    Rick_766, Apr 28, 2022
    #1
  2. Eagle51 Win User

    Windows Defender Scheduled Scan returns result 0x2

    Hey bru,
    I'm curious what command you're using for your wd task (i.e. Action Tab). I'm just doing a daily signature update and quick scan.


    Windows 11 Windows Defender scheduled scan returns 0x2 error [​IMG]

    Windows 11 Windows Defender scheduled scan returns 0x2 error [​IMG]

    Windows 11 Windows Defender scheduled scan returns 0x2 error [​IMG]

    Windows 11 Windows Defender scheduled scan returns 0x2 error [​IMG]

    Windows 11 Windows Defender scheduled scan returns 0x2 error [​IMG]
     
    Eagle51, Apr 28, 2022
    #2
  3. Crizal Win User
    Windows Defender Scheduled Scan returns result 0x2

    Hi Mcd73165. This is an old issue that dates way back to the Windows 10 Anniversary Update. Some folks got the problem immediately. Others get it at a later time. In my case, it started in April after a cumulative update. Microsoft forums are loaded with this issue and a slew of suggestions. Some work -- most don't. The common fix is to do what you did -- create your own scheduled scan. In my case, the problem was solved by another cumulative update, which, from everything I've read, usually does not fix the issue.

    Take a look at this thread I started in April. Windows Defender Errors Solved - Windows 10 Forums
     
    Crizal, Apr 28, 2022
    #3
  4. Mcd73165 Win User

    Windows 11 Windows Defender scheduled scan returns 0x2 error

    Windows Defender Scheduled Scan returns result 0x2

    Hi. There are 4 Windows Defender Scheduled Tasks. All but the periodic scan task result in successful completions (0x0). The Scheduled Periodic scan task results return 0x2. This holds true even if I run the task on demand. I've found that by disabling Real Time Protection then rebooting the machine causes the task to run successfully 1 or 2 times after which the problem occurs again. This holds true on 2 computers (1 laptop and 1 desktop). Some time ago I created my own Windows Defender scheduled scan to run once a week which runs flawlessly. The built in task starts a program in C:\ProgramData\Microsoft\Windows Defender\platform\4.16.17656.18052-0\MpCmdRun.exe Scan - ScheduleJob - ScanTrigger 55. The task I created starts a program in "C:\ProgramFiles\Windows Defender\MpCmdRun.exe" -Scan - Scan Type 1. When my task runs a Command Prompt window shows while scanning while the built in scan runs in the background. Has anyone else noticed a problem with the built in Periodic scan task? Again as mentioned earlier, the other 3 built in Defender Scheduled tasks run without any problem.
    Thanks.
     
    Mcd73165, Apr 28, 2022
    #4
Thema:

Windows 11 Windows Defender scheduled scan returns 0x2 error

Loading...
  1. Windows 11 Windows Defender scheduled scan returns 0x2 error - Similar Threads - Defender scheduled scan

  2. Windows 11 Windows Defender scheduled scan returns 0x2 error

    in Windows 10 Software and Apps
    Windows 11 Windows Defender scheduled scan returns 0x2 error: When the Windows Defender scheduled scan runs from Task Scheduler it does not complete and returns error code 0x2. This happens even if I run it manually from scheduler. This happens on all three of my Windows 11 machines and so is not machine specific. I am currently up to...
  3. Windows 11 Windows Defender scheduled scan returns 0x2 error

    in AntiVirus, Firewalls and System Security
    Windows 11 Windows Defender scheduled scan returns 0x2 error: When the Windows Defender scheduled scan runs from Task Scheduler it does not complete and returns error code 0x2. This happens even if I run it manually from scheduler. This happens on all three of my Windows 11 machines and so is not machine specific. I am currently up to...
  4. Schedule Windows Defender Scan

    in AntiVirus, Firewalls and System Security
    Schedule Windows Defender Scan: Can I schedule a virus scan to run at regular times? [Original Title: Windows defender] https://answers.microsoft.com/en-us/protect/forum/all/schedule-windows-defender-scan/eab2c9ea-4138-4a76-80d1-e0afa89c8f10
  5. Windows Defender scheduled scans failing with 0x2 error

    in AntiVirus, Firewalls and System Security
    Windows Defender scheduled scans failing with 0x2 error: Hi, This problem is occurring on a new Dell laptop (Latitude 7480 with Windows 10 Pro 1809, auto-updates turned on). The problem started a week or two ago when Windows Defender reported no recent successful scans. I can run a scan manually with no problems. However, the...
  6. Windows Defender Scheduled Scan

    in AntiVirus, Firewalls and System Security
    Windows Defender Scheduled Scan: How do I get Windows Defender Scheduled Scan back in Task Scheduler? I go: Schedule tasks > Task Scheduler Library > Microsoft > Windows > Windows Defender. I had been messing around with the scheduler trying to make it work properly. Unfortunately, in the process I...
  7. Windows Defender Scheduled Scan does not work; message 0x2 is returned

    in AntiVirus, Firewalls and System Security
    Windows Defender Scheduled Scan does not work; message 0x2 is returned: Microsoft claims that one can schedule Defender to run a scan according to a specified schedule (e. g., everyday at 8 P. M.). See: https://support.microsoft.com/en-us/...nder-antivirus Yet, even after having followed Microsoft Support's own instructions (see screencapture...
  8. Windows Defender Scheduled scan task returns result 0x2

    in Windows 10 Support
    Windows Defender Scheduled scan task returns result 0x2: Hi. Windows Defender has 4 Scheduled tasks. All but the periodic scan task completes successfully (0x0). The Periodic scan task returns a result of 0x2. The same occurs if I run the task on demand. Note that a while back I created a custom Windows Defender Scheduled task scan...
  9. Windows Defender returns result 0x2

    in AntiVirus, Firewalls and System Security
    Windows Defender returns result 0x2: Hi. There are 4 Windows Defender Scheduled Tasks. All but the periodic scan task result in successful completions (0x0). The Scheduled Periodic scan task results return 0x2. This holds true even if I run the task on demand. I've found that by disabling Real Time Protection...
  10. Windows Defender Scheduled Scan returns result 0x2

    in Windows 10 Support
    Windows Defender Scheduled Scan returns result 0x2: Hi. There are 4 Windows Defender Scheduled Tasks. All but the periodic scan task result in successful completions (0x0). The Scheduled Periodic scan task results return 0x2. This holds true even if I run the task on demand. I've found that by disabling Real Time Protection...