Disable Windows Defender and SmartScreen - mewostick/Creosynth GitHub Wiki
This task disables Windows Defender and SmartScreen. Optional user choice.
CHANGES:
HKLM\System\CurrentControlSet\Services\WdFilter\Start | set to 4 (REG_DWORD)
HKLM\System\CurrentControlSet\Services\WdNisDrv\Start | set to 4 (REG_DWORD)
HKLM\System\CurrentControlSet\Services\WdNisSvc\Start | set to 4 (REG_DWORD)
HKLM\System\CurrentControlSet\Services\WinDefend\Start | set to 4 (REG_DWORD)
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\DisableAntiSpyware | set to 1 (REG_DWORD)
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\EnableSmartScreen | set to 0 (REG_DWORD)