config case_sensitive = false | preset=xdr_registry | filter (event_type = ENUM.REGISTRY and 
 event_sub_type = ENUM.REGISTRY_SET_VALUE) and 
 (agent_os_type = ENUM.AGENT_OS_WINDOWS and 
 ((action_registry_key_name contains "\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController\" and 
 action_registry_key_name contains "\Command" and 
 ((action_registry_value_name in ("*.bat*", "*.bin*", "*.cmd*", "*.dat*", "*.dll*", "*.exe*", "*.hta*", "*.jar*", "*.js*", "*.msi*", "*.ps*", "*.sh*", "*.vb*")) or 
 (action_registry_data in ("*.bat*", "*.bin*", "*.cmd*", "*.dat*", "*.dll*", "*.exe*", "*.hta*", "*.jar*", "*.js*", "*.msi*", "*.ps*", "*.sh*", "*.vb*")))) and 
 (not 
 ((action_registry_value_name in ("*\system32\CompatTelRunner.exe*", "*\system32\DeviceCensus.exe*")) or 
 (action_registry_data in ("*\system32\CompatTelRunner.exe*", "*\system32\DeviceCensus.exe*"))))))