Hello @Akhilendra Pandey ,
Welcome to Microsoft Q&A forum.
Is there any universal uninstaller for Visual Studio older version for clean up?
I’m afraid there isn’t a universal uninstaller that could uninstall all older version of Visual Studio.
I need to remove multiple Visual Studio versions through script.
I'm afraid, since there are some older versions of VS in your machine which are needed to be removed, it is not possible to remove multiple Visual Studio versions through script.
Besides, uninstalling some of the old versions of VS may be a little difficult. Here are some ways for uninstalling these versions of VS.
For Visual Studio 2019 (Professional and Enterprise), the standard uninstallation method is using Visual Studio Installer(VS Installer > VS 2019 > More > Uninstall), or if you want to remove all installations of Visual Studio 2019 and the Visual Studio Installer from your machine, you can uninstall it from Apps & Features(Settings of Windows > Apps > Apps and Features > Find VS 2019 > Uninstall > Find Microsoft Visual Studio Installer > Uninstall). See this document: Uninstall Visual Studio(VS 2019) for more details.
For Visual Studio 2012 (Professional), please check this document: Uninstall Visual Studio 2012.
For Visual Studio 2010 (Professional), you can run the Microsoft Visual Studio 2010 Uninstall Utility to uninstall Visual Studio 2010 or manually uninstall Visual Studio 2010. Please check this document: Uninstalling Visual Studio(2010) for more details.
For Visual Studio 2008, you can check this document: How to: Uninstall Visual Studio and follow this Readme: Visual Studio 2008 document(2.2. Uninstalling) to uninstall VS 2008.
For Visual Studio 6, you can try to uninstall it in Control Panel.
Best Regards,
Tianyu
- If the answer is helpful, please click "Accept Answer" and upvote it.
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.