Name already in use
visualstudio-docs / docs / install / uninstall-visual-studio.md
- Go to file T
- Go to line L
- Copy path
- Copy permalink
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents
Copy raw contents
Copy raw contents
Uninstall or remove Visual Studio
This page walks you through uninstalling Visual Studio, our integrated suite of productivity tools for developers.
[!TIP] If you’re having trouble with your instance of Visual Studio, try the Repair Visual Studio tool.
To change the location for some of your Visual Studio files, it’s possible to do so without uninstalling your current instance as described in Select the installation locations.
Find the Visual Studio Installer on your computer.
In the Windows Start menu, you can search for «installer».
[!NOTE] You can also find the Visual Studio Installer in the following location:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe
You might have to update the installer before continuing. If so, follow the prompts.
In the installer, look for the edition of Visual Studio that you installed. Next, choose More, and then choose Uninstall.

Click OK to confirm your choice.

If you change your mind later and want to reinstall Visual Studio 2019, start the Visual Studio Installer again, choose the Available tab, choose the edition of Visual Studio that you want to install, and then select Install.
Uninstall Visual Studio
To remove all installations of Visual Studio 2019, and the Visual Studio Installer from your machine, uninstall it from Installed apps.
- In Windows 10 or later, type Add or remove programs in the «Type here to search» box.
- Find Visual Studio 2019.
- Choose Uninstall.
- Then, find Microsoft Visual Studio Installer.
- Choose Uninstall.
Find the Visual Studio Installer on your computer.
In the Windows Start menu, you can search for «installer».

[!NOTE] You can also find the Visual Studio Installer in the following location:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe
You might have to update the installer before continuing. If so, follow the prompts.
In the installer, look for the edition of Visual Studio that you installed. Next, choose More, and then choose Uninstall.

Click OK to confirm your choice.

If you change your mind later and want to reinstall 2022, start the Visual Studio Installer again, choose the Available tab, choose the edition of Visual Studio that you want to install, and then select Install.
Uninstall Visual Studio
To remove all installations of Visual Studio 2022, and the Visual Studio Installer from your machine, uninstall it from Installed apps.
- In Windows 10 or later, type Add or remove programs in the «Type here to search» box.
- Find Visual Studio 2022.
- Choose Uninstall.
- Then, find Microsoft Visual Studio Installer.
- Choose Uninstall.
Remove all with InstallCleanup.exe
[!WARNING] Use the InstallCleanup tool only as a last resort if repair or uninstall fail. This tool might uninstall features from other Visual Studio installations or other products, which then might also need to be repaired or reinstalled.
If you experience a catastrophic error and can’t repair or uninstall Visual Studio, you can run the InstallCleanup.exe tool to remove installation files and product information for all installed instances of Visual Studio 2017, Visual Studio 2019, or Visual Studio 2022.
Here’s how to run the InstallCleanup.exe tool:
Close the Visual Studio Installer.
Open an administrator command prompt. To open an administrator command prompt, follow these steps:
How to completely uninstall VS Code on Windows?
What is the way to totally uninstall Visual Studio Code and its extensions, including all configurations, etc.) on Windows 10?
I tried uninstalling and installing but it remembered its previous settings.
7 Answers 7
- Open Run ( Win + R )
- Type %appdata%
- Press Enter
- Delete the folder Code
Voila! Restart Visual Studio Code and it is reset!
Here is a bat script which does the same thing:
Here is the complete solution you can apply:
Go to where Visual Studio Code is installed and invoke ‘uninst000.exe’. In my case it is installed in C:\Users\Shafi\AppData\Local\Programs\Microsoft VS Code
Delete directory C:\Users\Shafi\AppData\Roaming\Code
Delete directory C:\Users\Shafi\.vscode
![]()
Turns out the extensions are stored under %USER%.vscode\extensions. Deleting that gets rid of them. %USER%\\.vscode\extensions (or) %USERPROFILE%\.vscode\extensions
![]()
Go to Path: C:\Program Files\Microsoft VS Code
Double Click uninstall.exe
This will uninstall VS Code from Your Windows OS and
After uninstallation delete code folder also.
Open Run (Win + R) and Enter %appdata% Press Enter
Delete the folder code .
![]()
![]()
Easy way to remove it
Step1: to find VSCode path
Example: C:\Users\Willie\AppData\Local\Programs\Microsoft VS Code


![]()
Find the location C:\Users\ (your username) Shah907\AppData\Local\Programs\Microsoft VS Code Insiders.
Click on "unins000.exe" and open it to uninstall.
Now find C:\Users\Shah907 and delete " .vscode-insiders " folder.
Now delete " Code — Insiders " in location " C:\Users\Shah907\AppData\Roaming ".
Now Reinstall the Visual Studio Code again.
How to COMPLETELY uninstall Visual Studio Code from Windows 10?
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?
6 Answers 6
Here are the default paths where Visual Studio Code Insider saves files:
- Installation path:
- User settings and preferences:
- Shortcut folder:
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:
- 32 bit stable: https://vscode-update.azurewebsites.net/latest/win32-archive/stable
- 32 bit insider: https://vscode-update.azurewebsites.net/latest/win32-archive/insider
- 64 bit stable: https://vscode-update.azurewebsites.net/latest/win32-x64-archive/stable
- 64 bit insider: https://vscode-update.azurewebsites.net/latest/win32-x64-archive/insider
![]()
After uninstalling vscode, remove:
- %UserProfile%\.vscode
- %AppData%\Code
- %LocalAppData%\Programs\Microsoft VS Code
![]()
I was having the exact issues.
My reason for trying to do a full uninstall of Visual Studio Code was because I was having issues writing code, especially HTML codes. When I type at least 2 letters, the cursor automatically skips to the end of the page and all subsequent letters that I type is written after the HTML close tag.
I also tried uninstalling VS Code but everything remains the same and I kept having the same issues. Unlike other softwares, the uninstall application for VS Code doesn’t uninstall also the components (extensions and settings). It only removes the VS Code software.
What I did was to permanently delete any and all folder that has «VS» or «Visual Studio». You also need to check «Microsoft» folders because «VS Code» folders can be found there. After doing all that you definitely want to delete a folder with the name «.vscode» and you can find in your «home» folder. The reason why your workspace remains the same is because all your previous extensions and settings are stored in that folder.
Uninstall Visual Studio Code Completely (Windows,Mac and Linux)

VS Code is a popular code editor that many developers use and love it. However, it can irritate developers at times, such as when attempting to completely uninstall VS Code. So, if this is your issue, I will provide a proper guide for completely uninstalling vs code in Windows, Mac, and Linux.
Table of Contents
Why is Visual Studio Code not completely uninstalled?
Most applications are normally uninstalled by simply uninstalling them through the control panel or with a single uninstalled command in Linux and Mac. However, this does not happen in VS CODE because its settings, plugins, and extensions are stored in a separate location than your VS CODE installation files location. VS Code has done this so that if a developer later encounters a problem with VS Code, the settings will be retained, and if the developer uninstalls and reinstalls then the same settings will be applied automatically, eliminating the need to reconfigure each and every setting on each install/reinstall process.
Uninstalling Visual Studio Code in Windows OS
Uninstalling Visual Studio Code in Windows OS using Third-party Software
Uninstalling Visual Studio Code in Linux
Uninstalling Visual Studio Code in Mac
Here are the steps for uninstalling vscode completely in MacOS:
1 Close VS Code Editor ( if you are using it).
2 In terminal type following rm command one by one with great care.
Please enable JavaScript
- -r: This argument helps to remove files as well as a folder, subfolders, subfiles soon.
- -f: This argument helps to remove those files and folders without any prompt for confirmation. So, -f helps to skip the permission required to delete the contents.
Uninstalling Visual Studio Code in Mac using Third-party Software
You can use a third-party app like PowerMyMac Uninstaller or Delete Apps: Uninstaller to automatically remove the VSCode application along with its settings, extensions, and plugins. They make it easier to find and remove applications. It is also beneficial to delete both apps as well as all associated library files (settings, configurations, caches, log, preferences, and so on)
Can I reinstall vs code after I have completely removed from PC?
After a full uninstallation of Visual Studio Code, it is possible to reinstall it. After you have removed Visual Studio Code and all of its related components, you can get the most recent version from the website and set it up on your machine.
It’s important to remember that after reinstalling Visual Studio Code, you’ll need to reinstall any extensions or tools you previously used if you want to use those extension with newly installed vscode.
What other programs or data might be impacted if I remove Visual Studio Code?
No it doesnot affect any other applications or files on your computer.
Conclusion
In this manner, we can easily remove vs code software along with its settings, configurations, extensions, caches, and log. From this article, you should have learned why vscode kept those settings and how to completely uninstall vs code.
report this ad Latest Posts