JAN 19

Here's a nice little recipe to uninstall programs on a Windows machine from the command line:

  • Open cmd.exe as administrator
  • Run WMIC.EXE
  • Type the following at the wmic:rootcli> prompt:

    product where "name like 'foo%'" call uninstall /nointeractive /norestart

Replace foo with a string to search for at the beginning of the program name. To get a list of program names, type "product get name".

These resources have more information and documentation: Tech-Recipes, Microsoft, and Usenet.

permalink | comments | technorati
blog comments powered by Disqus