• 0

Can we uninstall software from command line ?


Question

3 answers to this question

Recommended Posts

  • 0

Sure.  [Windows 10] Go to command prompt as admin. Put in msiexec /x followed by the name of the .msi file. You get a are you sure and respond accordingly.

Link to comment
Share on other sites

  • 0
7 minutes ago, Deep_Level_Shark said:

there wont be .msi file in the installed directory....there will be exe file.

this is confusing.

the exe will have to be done normally then unless the app in question programmed in /silent commands on their installer/uninstaller exe; you will have to refer to documentation to the app in question.

 

pointing to an exe in command prompt will just launch the GUI app as normal unless you use /silent which the app developer has to program in.

 

MSI files are generic installer packages and that is why it can be done via command line as mentioned above.

 

unlike linux there is no package manager commands in windows natively (outside of store apps)

 

edit: this is the best I've been able to find on the different ways to uninstall things on windows

https://www.digitalcitizen.life/six-ways-removeuninstall-windows-programs-and-apps

 

it looks like some apps can be uninstalled via the 'wmic' command but not all desktop apps show on this according to the above guide

  • Like 2
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.