Is it a Virus?
✔ NO - Safe
Must be legitimate Code.exe in Program Files\Microsoft VS Code\ and signed by Microsoft
Warning
Multiple processes normal
Settings Sync runs as part of Code.exe and helper processes; high counts may reflect many extensions and devices
Can I Disable?
✔ YES
Disable Sync in Settings: Settings → Accounts → Turn off Settings Sync; you can disable on all devices
What is Code.exe?
visual-studio-code-sync is the Settings Sync feature of Visual Studio Code. It securely stores your preferences, keybindings, themes, extensions, and UI layout in the cloud so you can reproduce your setup across machines after signing in.
The sync system encrypts credentials and uses a identity provider to map settings to your account. It runs under Code.exe as background processes and communicates with the Microsoft cloud via HTTPS.
Quick Fact: VS Code Settings Sync started as a popular feature to wrap your environment across devices; it requires a signed-in Microsoft or GitHub account.
Types of VS Code Sync Components
- Settings Storage: Encrypted user settings, keybindings, and UI state stored in cloud
- Extension List: Synced installed extensions and their recommended versions
- Workspace Settings: Per-workspace settings and folders synchronization (when supported)
- Account Handler: Sign-in flow for Microsoft/GitHub accounts
Is visual-studio-code-sync Safe?
Yes, visual-studio-code-sync is safe when used with the official VS Code installation from Microsoft and the Settings Sync feature bound to a legitimate account.
Is visual-studio-code-sync a Virus or Malware?
The real Settings Sync component is not a virus. Malware can masquerade as VS Code, so verify the file path and digital signature.
How to Tell if VS Code Sync is Legitimate or Malware
- File Location:: Must be in
C:\Program Files\Microsoft VS Code\Code.exe or C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe. Any other location is suspicious.
- Digital Signature:: Right-click Code.exe → Properties → Digital Signatures. Should show "Microsoft Corporation" as the signer.
- Resource Usage:: Normal usage is a few percent CPU with small memory footprint when syncing is idle; unusual spikes are suspicious.
- Behavior:: VS Code Sync should only run while VS Code is active or syncing; persistent background activity outside VS Code may indicate malware.
Red Flags: If Code.exe is located in temp folders, lacks a digital signature, or runs when VS Code isn't open, scan with antivirus. Beware of similarly-named files like "code.exe" from untrusted sources.
Why Is visual-studio-code-sync Running on My PC?
Sync runs when you sign in to VS Code and when Settings Sync is enabled across devices, coordinating cloud-stored preferences.
Reasons it's running:
- Active VS Code Session: You have VS Code open; Sync updates settings and extensions in real time
- Background Sync: Synchronization of account data, extensions, and settings can run in the background to keep devices aligned
- Startup or Login: VS Code may start Sync automatically when you launch VS Code or sign in to a Microsoft/GitHub account
- Cloud Synchronization: Your account is syncing data with the cloud to reflect changes on other devices
- Extensions Update Propagation: New or updated extensions may trigger Sync to keep lists consistent across devices
Can I Disable or Remove visual-studio-code-sync?
Yes, you can disable visual-studio-code-sync. You can turn off Settings Sync in VS Code settings and sign out if desired.
How to Stop VS Code Sync
- Turn Off Settings Sync: In VS Code: Settings (Ctrl+,) → Settings Sync: Turn Off
- Sign Out: In VS Code: Accounts → Sign out from Microsoft/GitHub
- Clear Synced Data: In Settings: Reset Sync data; this will remove cloud-stored preferences
- Disable Startup: If using the VS Code installer, disable auto-start; otherwise, remove from startup scripts
How to Uninstall Visual Studio Code (optional)
- ✔ Windows Settings → Apps → Visual Studio Code → Uninstall
- ✔ Control Panel → Programs → Uninstall a program → Visual Studio Code → Uninstall
- ✔ If you also want to remove settings, delete the User folder: C:\Users\<User>\AppData\Roaming\Code
Common Problems: Sync Not Working or Conflicts
If visual-studio-code-sync isn't behaving, check these common causes and fixes.
Common Causes & Solutions
- Not Signed In: Sign in to VS Code with a Microsoft or GitHub account and enable Settings Sync
- Offline or No Internet: Ensure network access; Sync requires internet to reach the cloud
- Conflicts in Settings: Resolve conflicts in settings.json or reset sync and re-synchronize
- Extensions Not Syncing: Make sure the extensions are installed on all devices or allow extension data to be synced
- Account Permissions: Check that the account has permission to access the sync data; re-auth if needed
- Sync Limits or API Changes: Occasional outages or policy changes can affect sync; check VS Code status page and re-auth
Quick Fixes:
1. Quick Fixes:
2. 1. Open VS Code Task Manager (Ctrl+Shift+P → type 'Developer: Show Running Extensions' to identify resource-heavy items)
3. Sign in or out and sign back in: Accounts → Sign in
4. Check Settings Sync status: Settings → Search 'Settings Sync'
5. Update VS Code to latest version: Help → Check for Updates
6. Review extension lists and re-install if necessary
Frequently Asked Questions
What is Visual Studio Code Settings Sync?
Settings Sync is a feature in VS Code that securely stores and syncs your settings, keybindings, extensions, and UI layout across devices when you sign in with a Microsoft or GitHub account.
Is VS Code Settings Sync safe to use?
Yes, when used with official VS Code builds and signed-in accounts. Data is encrypted in transit and stored in the cloud to sync across devices.
Where are my sync settings stored locally?
Settings are stored in your user profile under AppData\Roaming\Code, including settings.json and the extensions list.
How do I stop or disable Settings Sync?
In VS Code: Settings → Settings Sync: Turn Off, or Accounts → Sign out. You can also delete synced data from the cloud.
Why isn't my extension list syncing?
Ensure the extension is installed on other devices and that sync is enabled. Some extensions have per-device restrictions; re-auth may help.
Can I reset Sync without losing my local settings?
Yes, you can reset Sync data from the cloud; locally, your settings.json may remain, but you may need to re-apply preferences after reset.