This policy setting allows you to configure scanning for all downloaded files and attachments.If you enable or do not configure this setting scanning for all downloaded files and attachments will be enabled.If you disable this setting scanning for all downloaded files and attachments will be disabled.
Policy path:
Windows Components\Windows Defender\Real-time Protection 
Scope:
Machine 
Supported on:
At least Windows Server 2012 Windows 8 or Windows RT 
Registry settings:
HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection!DisableIOAVProtection 
Filename:
WindowsDefender.admx 
