I've spent a few months rolling out Group Policy for Windows Defender on a small business domain (about 25 workstations), and gathering the results with Event Viewer. (We are not running SCCM) I have it set to run a quick scan everyday, and a full scan once weekly. The group policy is enforced, and the GPResult output shows it's being processed on the workstations. They randomly scan, without rhyme or reason, very infrequently and never when I specified, like once a week for either scan if lucky. The scan's ALWAYS quit early. Full scans quit EXACTLY one hour after start, and the quick scans quit after 9 or 10 minutes.

In an attempt to wrangle in these machines, I'm trying to create a scheduled task to run the quick and full scans explicitly. When the task is created (user is SYSTEM), it will NEVER run. It quits the job instantly with return code 2147942402. I've seen people solve this issue on home machines by running the task as the users account, and saving the credentials. This is obviously a workaround that will not scale to corporate setting.

At this point I've exhausted searching the web, and I'm curious with these awful results, how anyone uses Defender in a business. It doesn't respond to GPO and it won't run as non-user account. Does anyone have any insight as to how to deploy Defender in a small business domain?

There is no way we're buying into the cloud management services from MS just to get this inept AV scanner to run, I'd rather go third party if this is a losing scenario. Please speak up if you've successfully used Defender in a business environment, I can't find anyone on the web with similar issues. Is everyone using third party AV?

GPO Settings:
Windows Defender Antivirus:
    Turn Off Windows Defender Antivirus             Disabled
    Randomize scheduled task times                  Disabled
    Join Microsoft MAPS                             Disabled
    Configure local setting override for reporting to Microsoft Disabled
Real-time Protection:
    Turn off real-time protection                   Disabled
    Turn on behavior monitoring                     Enabled
    Scan all downloaded files and attachments       Enabled
    Check for the latest virus and spyware defs before run… Enabled
    Scan removable drives                                   Disabled
    Run full scan on mapped network drives                  Disabled
    Scan network files                                      Disabled
    Specify the interval to run quick scans per day         Enabled (24)
    Specify the scan type to use for a scheduled scan       Enabled (Full system scan)
    Specify the day of the week to run a scheduled scan*    Enabled (Wed)
    *This value did not show once saved, had to update ADMXtemplates to 1809  
    Specify the time for a daily quick scan                 Enabled (360)(6AM)
    Specify the time of day to run a scheduled scan         Enabled (1320)(10PM)
    Configure local setting override for the scan type to use for…  Disabled
    Configure local setting override for schedule scan day          Disabled
    Configure local setting override for scheduled quick scan ti…   Disabled
    Configure local setting override for scheduled scan time        Disabled
  • About how many computers does your company have? Also, have you tried settings up scheduled tasks for this and deploying them with something like PDQ or sccm? I'm not familiar with using defender in an enterprise environment but that's how I imagine it would be done. – Jason Desjardins Apr 8 '19 at 17:39
  • I mentioned it's about 25 workstations. Yes I've tried scheduled tasks, but they don't work even in testing, so haven't deployed yet, but would probably just use GPOs. – corporate_IT_drone Apr 8 '19 at 17:41
  • Though I'm not managing such a small environment, and also instead using 3rd party AV, I can't believe you've so much tough time with Defender! Are you sure that the local system account is ineffective to run scheduled quick/full scan? It's hard to digest! I think you should start with investigating the limited time of scanning. – Am_I_Helpful Apr 8 '19 at 17:42
  • The limited time of scans is a problem the way that Defender creates its scheduled tasks. This is why I gave up deploying it with GPO and I want to create my own Scheduled Tasks explicitly, however it doesn't seem that you can do that and run it as SYSTEM. Nothing I've tried can get these machines to scan when you want them to. It blows my mind how difficult this has been. – corporate_IT_drone Apr 8 '19 at 17:47
  • Do you receive any events when the scans stop? – Michael Hampton Apr 8 '19 at 17:50

Sorry to be a salesman but if you run out of patience we've had a lot of luck wit webroot. Configuration is easy and it is extremely lightweight. https://www.webroot.com/us/en/business/help-me-choose

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.