For future reference.
Windows Defender
Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus
Turn off Windows Defender Antivirus > Enabled
Cortana
Computer Configuration > Administrative Templates > Windows Components > Search
Allow Cortana > Disabled