Is it a Virus?
✔ NO - Safe
Should be located in the VS Code installation path
Warning
Telemetry runs as part of Code.exe
Not a separate background service; data is sent with user consent
Can I Disable?
✔ YES
Disable in Settings: Telemetry and Crash Reporter; restart VS Code
What is Code.exe?
code-telemetry.exe is the Visual Studio Code telemetry component. It collects anonymous usage events, feature usage, and crash reports to help the VS Code team improve performance, reliability, and user experience. It runs quietly in the background and respects your privacy controls.
Telemetry events are emitted by the VS Code process and sent to Microsoft in aggregated form. Data may include feature usage, performance metrics, and crash information, but is designed to be pseudonymized and controllable via user settings.
Quick Fact: VS Code telemetry is designed to be privacy-conscious and adjustable; you can reduce data sharing or disable it entirely.
Types of VS Code Processes Related to Telemetry
- Editor UI Process: Main Code window and user interface interactions (single instance)
- Renderer Process: Rendering of editors, panels, and webviews (multiple instances)
- GPU Process: Hardware-accelerated rendering and graphics tasks
- Extension Host Process: Executes extensions in isolation, may emit telemetry events
- Telemetry/Crash Reporter: Subsystem within Code for sending usage data and crash diagnostics
- Utility/Background Process: Background tasks like indexing and search utilities
Is code-telemetry.exe Safe?
Yes, code-telemetry.exe is safe when it's the legitimate file from Microsoft and installed from official sources (download.microsoft.com or the Microsoft Store).
Is code-telemetry.exe a Virus or Malware?
The real code-telemetry.exe is NOT a virus. However, malware may masquerade as telemetry-related files to trick users.
How to Tell if code-telemetry.exe is Legitimate or Malware
- File Location:: Should be in C:\Program Files\Microsoft VS Code\Code.exe or C:\Program Files (x86)\Microsoft VS Code\Code.exe. Any code-telemetry.exe elsewhere is suspicious.
- Digital Signature:: Right-click the process in Task Manager → Open file location → Right-click Code.exe → Properties → Digital Signatures. Should show "Microsoft Corporation".
- Resource Usage:: Normal usage is 0-5% CPU per process and minimal memory. Extremely high usage when VS Code is idle is suspicious.
- Behavior:: Telemetry should only run when VS Code is installed and enabled. If you see persistent telemetry activity when VS Code is closed, scan for malware.
Red Flags: If code-telemetry.exe appears outside of the VS Code install path (e.g., Temp or AppData), runs without VS Code open, lacks a valid signature, or shows unusual network activity, run a malware scan.
Why Is code-telemetry.exe Running on My PC?
VS Code launches telemetry as part of its normal operation to collect usage data and crash reports. You can adjust privacy settings to control what gets sent.
Reasons it's running:
- Active VS Code Use: You have VS Code open and editing files; telemetry events are generated as you interact with the editor.
- Telemetry Enabled: Telemetry collection is enabled in your settings or by your organization, contributing data to improve features.
- Background Tasks: Extensions, language servers, and watchers run in background processes that may emit telemetry events.
- Crash Reporting: If VS Code experiences crashes, crash reports and diagnostic data are gathered to help diagnose issues.
- Startup and Updates: Telemetry routines may run on startup or during updates to capture performance metrics.
Can I Disable or Remove code-telemetry.exe?
Yes, you can disable code-telemetry features. You can limit data collection or disable telemetry entirely, and you can still use VS Code with reduced data sharing.
How to Stop Telemetry
- Open Settings: File → Preferences → Settings (Ctrl+,)
- Disable Telemetry: Search for Telemetry: enableTelemetry and set it to false; also disable Crash Reporter.
- Restart VS Code: Close all windows and reopen VS Code to apply changes.
- Review Privacy Options: Check Settings → Privacy and Security for additional data-sharing controls.
- Group Policy (Enterprise): For organizations, apply policies that enforce telemetry levels.
How to Uninstall Visual Studio Code
- ✔ Windows Settings → Apps → Apps & Features → Visual Studio Code → Uninstall
- ✔ Control Panel → Programs → Uninstall a program → Visual Studio Code → Uninstall
- ✔ Consider using the User Installer or System Installer based on your deployment needs
Common Problems: Telemetry-related Performance or Privacy
If VS Code telemetry behaves unexpectedly or you have privacy concerns, try these checks and adjustments.
Common Causes & Solutions
- Telemetry Enabled with High Data Sharing: Set telemetry.enableTelemetry to false or reduce data sharing via settings and profiles
- Extensions Generating Excess Telemetry: Disable or remove extensions that emit excessive telemetry; review extension docs
- Crashes or Unresponsive Editor: Capture crash reports by enabling crashReporter and sending diagnostic data; update VS Code
- Outdated VS Code Version: Update to the latest version; check help → About → Check for Updates
- Incorrect Privacy Policies in Enterprise: Apply proper group policies to enforce telemetry levels and data handling
- Cache and Indexing Bloat: Clear workspace caches and reduce indexing by disabling unnecessary features via settings
Quick Fixes:
1. Quick Fixes:
2. 1. Open Settings and search for Telemetry to adjust enableTelemetry and crashReporter
3. Restart VS Code to apply changes
4. Disable problematic or unnecessary extensions in Extensions view
5. Update VS Code to the latest release
6. Review privacy controls under Settings → Privacy and Security
Frequently Asked Questions
Is code-telemetry.exe Safe?
Yes. code-telemetry.exe is a legitimate component of Visual Studio Code that collects usage data to help improve the product. Verify it resides in the VS Code install directory (e.g., C:\Program Files\Microsoft VS Code\Code.exe) and is signed by Microsoft.
What data does VS Code telemetry collect?
Telemetry collects usage events, feature usage, and crash data in aggregated form. It does not include the contents of your files by default, and you can limit or disable data sharing in settings.
Can I disable VS Code telemetry completely?
Yes. In Settings, turn off telemetry, and if needed, disable crash reporting. For organizations, use policy controls to enforce a low data-sharing level.
Where does VS Code telemetry data go?
Telemetry data is transmitted to Microsoft services for analysis and improvement. You can review privacy statements in the VS Code documentation and in the telemetry settings panel.
Does disabling telemetry affect features or extensions?
Disabling telemetry does not remove basic editor features. Some extension functionality that relies on telemetry for improvement metrics may be affected, but core editing remains intact.
How can I review or control privacy in VS Code?
Open Settings, search for Telemetry and Crash Reporter; adjust enableTelemetry and enableCrashReporter, review and clear data caches if available, and follow enterprise policies for data handling.