farag2 / Sophia-Script-for-Windows

:zap: The most powerful PowerShell module for fine-tuning Windows
MIT License
7.8k stars 579 forks source link

Disable Automatic sample submission for Microsoft Defender #537

Closed Obegg closed 1 year ago

Obegg commented 1 year ago

I'm not sure why Sophia Script doesn't disable this, I disabled it manually image Users don't want to send files to Microsoft

Microsoft Defender > Virus & threat protection > Manage settings > Automatic sample submission
farag2 commented 1 year ago

This is how to automate this: Set-MpPreference -SubmitSamplesConsent 2

I do not consider to add this feature to the script.

I'm not sure why Sophia Script doesn't disable this

Because I do not know why we need to add such feature. :)