Visual Studio Code – How to Completely Uninstall Visual Studio Code from Windows 10

uninstallvisual-studio-codewindowswindows 10

Seriously, it's hyper frustrating that after 35 years making software, Microsoft doesn't knows yet how to uninstall a program

I'm trying to uninstall Visual Studio Code, yes, this question is similar to https://stackoverflow.com/questions/47689536/uninstall-visual-studio-code-in-windows but answers are partial and incorrect.

I have done, uninstall using the control panel. Then uninstall everything in %appdata%\code, then deleting %USERPROFILE%.vs… (it's different path if you use visual studio code or visual studio code insiders)

No matter what, after I install the program again, it will show my environment just as it was before doing all this.

So, how do you uninstall completely, to do a fresh VS Code installation without installing Windows 10 from scratch?

Best Answer

Here are the default paths where Visual Studio Code Insider saves files:

  • Installation path:
"%LocalAppData%\Programs\Microsoft VS Code Insiders"
  • User settings and preferences:
"%UserProfile%\.vscode-insiders"
"%AppData%\Code - Insiders"
"%AppData%\Visual Studio Code - Insiders"
  • Shortcut folder:
"%AppData%\Microsoft\Windows\Start Menu\Programs\Visual Studio Code - Insiders"

These folder save the last user session and settings/preferences. Delete those to remove old settings/preferences. If you are concerned about the remaining files after installation you may use VSCode from the portable ZIP files. Here are the direct download links extracted from VSCode alternative downloads: