How to Enable or Disable Windows Defender
In Windows 8 and Windows 10, Defender is based on the Microsoft Security Essentials app which offers better protection by adding full blown protection against all kinds of malware. However, despite Microsoft's claims that it offers full protection, studies have found that third party antivirus apps still offer better protection. If you prefer to use a third party anti-malware app, you might want to disable Windows Defender. With the batch script attached to this thread you can disable or enable Windows Defender with Group Policy registry settings.