Thursday, February 14, 2019

Uninstall software's from Command line Windows 7 / Windows 8 / Windows 10

OPEN a command prompt with Administrator Rights (CTRL + SHIFT + Click CMD in start menu)

Step 1 : List all the installed software 

# wmic product get name  > progs.txt


Step 2: Edit the progs.txt to include following before and after the package name

  Before:
       Windows Live Messenger


   After:
       wmic product where name="Windows Live Messenger" call uninstall

Step 3: rename the file progs.txt to progs.bat