Hello @ Matthew ,
Welcome to Microsoft Q&A forum.
If you need to clean up everything about Visual Studio, you can use the InstallCleanup .exe
Here's how to run the tool: InstallCleanup.exe
1.Close the Visual Studio Installer.
2.Open an administrator command prompt. To open an administrator command prompt, follow these steps:
(1)Type cmd in the "Type here to search" box.
(2)Right-click Command Prompt, and then choose Run as administrator.
3.Enter the full path of the tool and add the command-line switch you prefer. By default, the path of the tool is: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\InstallCleanup.exe"
Here are the switches and their functions.
-i [version] :
Default if no other switch is passed. It removes only the main installation directory and product information. Use this switch if you intend to reinstall the same version of Visual Studio. If a value is specified, only products with a version that start with this string value will be removed. For example, use the switch -i 17 with to remove all products of version 17.
-f :
Removes the main installation directory, product information, and most other features installed outside the installation directory, that might also be shared with other Visual Studio installations or other products. Use this switch if you intend to remove Visual Studio without reinstalling it later.
For more detailed information, please refer to the official documentation:
Have a nice day.
Best Regards,
Zhengye
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.