How do I disable Perfwatson in Visual Studio? Perfwatson is not disabled by Tools > Extensions and Updates > Developer Analytics Tools.
For Visual Studio 2022 and the latest version of Visual Studio 2019:
Note: You can't opt out in pre-release versions by this mechanism.
For older versions of Visual Studio
Pressing OK on the dialog will need elevated privileges, and you have to restart the computer for the changes to take effect.
See Visual Studio Customer Experience Improvement Program for the official Microsoft instructions.
This change writes to the registry. See then next answer for fixing directly in the registry.