This can help a lot:
netsh advfirewall firewall add rule name="SearchUI.exe Telemetry" dir=out action=block program="%SystemRoot%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe" description="This rule prevents the Cortana telemetry. (This will also disable Cortana voice recognition.)"