permanently turn off windows defender code example Example: antimalware windows 10 disable HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender