All replies

So I've tested vs_enterprise.exe --remove [all the workloads here] and it works, except it doesn't remove the Core Editor component (obviously). As such this workaround would not be sufficient.

Would anyone be able to provide some syntax examples for each of the command line parameters? Someone from Microsoft? None of them seem to work, I'm most likely doing something spectacularly wrong as surely there must be a way to silently uninstall/modify
installations.

Could you please share us your detailed command? so that I could check if this question can be reproduced.

A screenshot of CMD would be much better, if you couldn't post image or link, please ask for a requirement in
Verify Your Account 38

Thank you for your understanding and cooperation.

Best Regards.

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.

About using command to perform the uninstallation, please navigate to path:

C:\Program Files (x86)\Microsoft Visual Studio\Installer

Use the vs_installer to run the command as below to uninstall VS 2017:

Best Regards,

Joyce

Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints
to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

I am trying to uninstall the VS2017Pro with the command which you have mentioned in your post﻿. It uninstalls the product whichever I have installed. (I have used offline installer method to install the VS2017PRO) but after uninstallation
it throws below error:

<Title> Uninstall Failure

Uninstall Failed

OK

(Need to remove above error box)

﻿Request you to look into this and give the proper resolution for the silent uninstallation (Installation part is working properly)

The documentation suggests that if you're running in quiet mode that any output is written to stdout and any errors to stderr so redirecting (eg with 2> c:\temp\vserror.txt) should capture any error messages but nothing gets written.

I tried a non-silent uninstall and got prompted to update the installer. I let it do that and then cancelled the install.

After that I ran the silent installer command that you used and it seems to uninstall properly. I'd guess what I need to do is find a way to do a silent update of the installer and then I can silently uninstall.

The first one updates the installer (and everything else; very pleased I'm doing this on a fast internet connection!) and the second then uninstalls. I didn't try it with --quiet instead of --passive but I think it should work.

Hopefully someone else trying to work out how to do a silent uninstall of Visual Studio 2017 will find this useful!