The telemetry data content in Visual Studio Code

Onufriev, Vadim 0 Reputation points
2026-01-27T08:12:45.7233333+00:00

Good morning!

I have two questions:

  1. There is a setting in Visual Studio Code:

Telemetry Level in VS Code to be set to "all" ("telemetry.telemetryLevel" to "all").

Can you please describe in detail what statistics exactly are being collected, when this option is turned on? Especially regarding sensitive data, related to users and their actions. Are these data pseudonymized? Can it be considered as "Usage monitoring" in terms of Works Council? Can this telemetry be used in companies according to GDPR?

  1. Can this option be “locked” / “grayed out”, when we are preparing the package for our users? After we set the option in the desired value, can we lock it in, so that the users cannot change it themselves manually after the package has been deployed with the predefined setting for this option. Is the functionality of “locking” settings included in the application? Is it technically possible, and if yes - how exactly is it done (which files contain the “switch" to lock and unlock setting access)?

Thank you for your help.

Best regards,

Vadim Onufriev

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-01-27T08:12:57.39+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more
    1. When the telemetry level in Visual Studio Code is set to "all," the telemetry feature collects various usage statistics. However, it does not collect personal data such as usernames or email addresses, nor does it scan your code or extract project-level data like repository names or authors. The data collected includes telemetry events such as the command line used, the time of invocation, and execution duration. This data is sent securely to Microsoft servers and is held under restricted access. The telemetry does not include sensitive data, and the collected data is not associated with identifiable user information, which means it can be considered pseudonymized. Regarding GDPR compliance, organizations must assess their specific use cases and ensure that any telemetry data collection aligns with their data protection obligations, including obtaining necessary consents from users.
    2. Visual Studio Code does not natively include functionality to lock or gray out settings such as telemetry options for users. While you can set the telemetry level in a predefined configuration, there is no built-in mechanism to prevent users from changing this setting after deployment. Any attempts to enforce such restrictions would require custom solutions or modifications to the deployment process, which are not standard features of Visual Studio Code. Therefore, if you need to enforce specific settings, you may need to explore third-party tools or create a custom extension that manages settings more strictly.

    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.