Disable Visual Studio data collection
- Windows onlyThis script improves your privacy on Windows
- Multiple actionsThis page belongs to a category, containing some changes with similar goal.
- Impact: Minimum
System Functionality / Data Loss Risk: Low
This action improves privacy with minimal impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- 6 scripts
- No subcategories
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
These scripts disable future local and cloud data collection by Visual Studio about you and your behavior. These do not clean existing data collected about you locally or on cloud servers.
Apply Now
Choose one of two ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Normal — Everyday Privacy (Enterprise-Grade)
- Recommended for all
- Safe for daily use
- No impact on system stability
Read more about Normal and other protection levels
Help
How to apply or restore "Disable Visual Studio data collection" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Shows the code
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable Visual Studio data collection" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the category name: Disable Visual Studio data collection
- Check the category by clicking on the checkbox of the category.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
Explore This Guide
- 6 Privacy settings
Choose what to protect based on your needs: Click any option to learn more about what it does. Each change can be applied and reversed individually.
- Some settings and commands may require technical knowledge to apply correctly.
- Most users find the Normal protection above sufficient.
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 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
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 Standard Collector Service"
Visual Studio Standard Collector Service is a service that is part of (Reference: 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...
Similar Guides
Wider Goal
The guide below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
Configure programs — to create a safe and private environment from online privacy protection on Windows. Important to mention, to roll back this adjustment, follow...
Same Goal
Other guides in Configure programsSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
See all 13 guides
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.