If you use this operating system, use the registry editor for this task. Windows 10 Home does not support the Group Policy Editor.
Go to C:\Program Files\Windows Defender Advanced Threat Protection\SenseSampleUploader.exe > Disable Firewall Profiles.
Send sample files if further analysis is required.
Go to Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus > MAPS.
Go to Start > enter Group Policy > select Local Group Policy Editor.
Use the Group Policy Editor/Registry Editor Although Windows asks you if a sample “probably” contains personal information, you may prefer to disable sample sharing altogether. While this sample sharing helps improve the overall security of the Windows ecosystem, it can make you uncomfortable. This allows the company to analyze the threat and develop new antivirus definitions that can be used to identify it in the future. When Windows 10 detects a new threat on your device, it automatically sends the problem file to Microsoft. Update: Stop getting error messages and slow down your system with our optimization tool.
Have you disabled the Cloud-delivered Protection and Automatic Sample Submission?.