Click here to Skip to main content
15,886,199 members
Articles / Visual Studio

Removing Visual Studio Bloatware

Rate me:
Please Sign up or sign in to vote.
3.59/5 (5 votes)
1 Dec 2016Ms-PL2 min read 7.7K   8   2
How to remove Visual Studio Bloatware

Visual Studio, especially the newer versions, carry a lot of bloatware. Stuff we do not need… AT ALL. Threads on forums and requests through Microsoft Connect go completely unheeded (see this link). In such cases, the developer is left to fend for themselves.

Konstantin Erman from the above Connect thread has posted an excellent tool on CodePlex to work around this issue. The tool is called “Total Uninstaller” and does a fantastic job of things. Am a big fan! ??

To use the tool, all one needs to do is to download the file from the CodePlex page. You get a .ZIP file. Unzip all files into any folder on your system. Open the “TotalUninstaller.exe.config”. It contains a section called “ProductsToUninstall“. Add/modify the keys under this section to reflect the items you want gone.

WARNING! Be careful as this tool will uninstall ANY installed products and not just stuff related to Visual Studio!!!

Before running the uninstall command, open an elevated command prompt, CD to the folder where you unzipped the tool’s files and run:

X:\Tools\> TotalUninstaller /ListAll >> InstalledItems.txt

This will cause the tool to generate a listing of all products – just product names and their GUIDs – and save the same into the “InstalledItems.txt” file. Now open the text file in Notepad and search through it for the items you want to delete.

In the TotalUninstaller.exe.config file, under ProductsToUninstall, add new rows as follows:

XML
<add key="<SEQ>" value="<Name of Product or search string>" />

The value for key (<SEQ>) should be a sequential whole number (1,2,3..). Do not leave any gaps in the numeric sequence! The value for value (Name of product or search string) should be the name of the product in full as per the listing in the InstalledItems.txt file, or any part of the name. You should be careful of using common words here or words that may appear in other installed products that you DO NOT want the tool to uninstall.

Here is my list:

XML
<ProductsToUninstall>
    <add key="1" value="Advertising"/>
    <add key="2" value="Windows Phone"/>
    <add key="3" value="FSharp"/>
    <add key="4" value="Visual F#"/>
    <add key="5" value="LightSwitch"/>
    <add key="6" value="Workflow"/>
    <add key="7" value="Blend for Visual Studio SDK"/>
    <add key="8" value="Windows Library for JavaScript"/>
    <add key="9" value="Desktop SDK" />
    <add key="10" value="Windows Store App" />
    <add key="11" value="XAML" />
    <add key="12" value="Azure" />
    <add key="13" value="Mobile" />
    <add key="14" value="Blend" />
    <add key="15" value="Application Insights" />
    <add key="16" value="Release Management" />
</ProductsToUninstall>

Once you have entered all the items you want deleted, save the .config file, from the same elevated prompt, run:

X:\Tools\> TotalUninstaller /uninstall

And that’s it! Watch the tool quickly invoke each uninstaller and banish the product to bit oblivion! Since the tool uses a .config file to store the names, you do not need to remember the settings or command-line switches or other trickery. Just keep the .config file in a safe place and run the tool every time after you install, update or repair your Visual Studio installation.

Happy uninstalling!

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionGood article, bad links! Pin
Dewey1-Dec-16 9:27
Dewey1-Dec-16 9:27 
PraiseMy vote of 5 Pin
ed welch1-Dec-16 5:17
ed welch1-Dec-16 5:17 
I didn't realise there was so much garbage installed.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.