Disable "Visual Studio Standard Collector Service"
Visual Studio Standard Collector Service is a service that is part of Microsoft Visual Studio and .NET Log Collection Tool. This service collects logs for Diagnostics Hub just like Diagnostic Hub Standard Collector. It has been known to be vulnerable to privilege elevation. Disabling this service is recommended because otherwise it would: Increase the attack surface of your computer, maki...
Disable Diagnostics Hub log collection
This script disables log collection by the Diagnostics Hub in Visual Studio. The Diagnostics Hub is a feature that allows running multiple performance analysis tools simultaneously. This feature collects extensive data including CPU usage, user interface responsiveness, and energy consumption.. It presents data from multiple tools on a shared timeline, showing relationships between different performance metrics. The Diagnostics Hub collects additional logs. Microsoft recommends stopping this col...
Disable participation in IntelliCode data collection
This script prevents IntelliCode in Visual Studio from collecting data. IntelliCode uses AI to suggest code improvements by analyzing usage and error reports. In scenarios like team model training, user code is shared with Microsoft. Opting out does not affect IntelliCode's local suggestion capabilities. By relying on local data models, this script improves privacy, reducing the amount of data shared with Microsoft. The script works by modifying registry keys to disable the feature that sends da...
Disable participation in Visual Studio Customer Experience Improvement Program (VSCEIP)
This script disables participation in the Visual Studio Customer Experience Improvement Program (VSCEIP), enhancing your privacy and system performance. Previously, VSCEIP was known as "PerfWatson" in Visual Studio. It collects information about errors, hardware specifications, and usage patterns in Visual Studio. This data includes crashes, memory dumps, errors, stack traces, CPU and memory usage, interaction telemetry, and other diagnostic data. The collected information is sent to Microsoft s...
Disable Visual Studio feedback
Feedback tool in Visual Studio allows users to report a problem from either Visual Studio or its installer. It collects rich diagnostic information along with personally identifiable information. Information includes large log files, crash information, screenshots, repro recording, and other artifacts. This script disables feedback dialog and screenshot capture/email input that's prompted to be sent as part of the feedback. By default (after clean installation) the registry keys are not configur...
Disable Visual Studio telemetry
This key was first seen to be used in Visual Studio 15 (2017). By default (after clean installation) the registry key set by this script does not exist since Visual Studio 2022. Forum post showing logs for TurnOffSwitch key | MSDN Forums