Uninstall VS Code and clear its settings
Open Add or Remove Programs, find Visual Studio Code under Apps and features, press the three dots and choose Uninstall. A .zip install is removed by deleting its folder. To return to a pre-install state, also delete the Code, .vscode-shared and .vscode folders that Microsoft lists, which hold settings and extensions.
Checked November 10, 2026 against the manufacturer's own pages.
The short version
What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.
Official files only, nothing bundled
Step by step
Export what you want to keep
Copy your settings.json and keybindings.json, and note your extension list, if you may reinstall. Turning on Settings Sync inside the app saves them to your account.
Close all VS Code windows
Quit every window and end any Code processes in Task Manager so no file is in use.
Uninstall from Apps and features
Search for Add or Remove Programs, find Visual Studio Code under Apps and features, press the three dots and choose Uninstall. In the Control Panel use Programs, Uninstall a program.
Zip installs are different
If you extracted a .zip, there is no uninstaller. Delete the folder where you put the contents.
Delete the user folders for a clean slate
Microsoft's page lists %APPDATA%\Code, %USERPROFILE%\.vscode-shared and %USERPROFILE%\.vscode as the Windows folders to remove. Doing so returns you to the state before you installed it.
If it still will not go, or leaves files behind
Windows removes the program but often leaves folders, registry keys and background services. An uninstaller tool runs the normal removal first, then scans for what was left and deletes it, and can force out programs whose own uninstaller is broken.
Remove stubborn programs and their leftovers
Its Uninstaller tool removes programs along with the traces they leave behind, and the cleaner clears the junk files that remain.
Auslogics BoostSpeed 14 · Free version · Windows 11, 10, 8, 7 · 30-day refund on Pro
Two installers, one editor
Visual Studio Code comes in a User setup and a System setup. The user version installs under your own profile and needs no administrator password. The system version installs for all accounts on the PC. Microsoft’s setup page describes both, and the uninstall page treats them the same: remove the entry from the app list, whichever installer you used.
Why a plain uninstall leaves things behind
The uninstaller removes the editor program. Your settings, keybindings, snippets and installed extensions sit in folders in your user profile, so they survive. That is helpful when you plan to reinstall, because VS Code looks the same afterwards. It is unhelpful when you want a true reset, because a corrupted setting can come back with the new install.
The clean uninstall
Microsoft’s uninstall page gives three Windows folders to delete for a clean state: Code under AppData Roaming, plus .vscode and .vscode-shared in your user folder. Delete only these named paths. The page states the result is the same as before you installed the editor.
What you lose
You lose all customisation and any extension that is not synced to your account. Your source files, Git history and project folders are untouched.
Windows has Notepad for quick edits, and Microsoft sells a separate full IDE, Visual Studio, that is a different product with its own uninstaller.
Questions
Does uninstalling VS Code delete my projects?
No. Your code lives in your own folders. Only the editor and, if you delete them, its settings and extensions are removed.
What is the difference between User and System setup?
User setup needs no administrator rights and installs under %LOCALAPPDATA%\Programs. System setup installs for everyone under Program Files and needs elevation.
Are my extensions removed?
Deleting the user data folders removes them. Microsoft's page does not name a separate extensions folder, so use its list of paths.
Will other developer tools break?
Tools that call the code command in a terminal will stop finding it.