Helpful Microsoft Windows Scripts

Manage Software and Applications Using WMI

Reinstall

#Get the name of the software:

wmic product get name | findstr /i “%WHAT YOU THINK THE SOFTWARE IS CALLED%”

#Lets try and find Comodo:

wmic product get name | findstr /i “Comodo”
COMODO Client – Communication Updater
COMODO Client – Communication

#Reinstall the found software COMODO Client – Communication Updater:

wmic product where name=’COMODO Client – Communication Updater’ call Reinstall

Uninstall

#Get the name of the software:

wmic product get name | findstr /i “%WHAT YOU THINK THE SOFTWARE IS CALLED%”

#Lets try and find Comodo:

wmic product get name | findstr /i “Comodo”
COMODO Client – Communication Updater
COMODO Client – Communication

#Uninstall the found software COMODO Client – Communication Updater:

wmic product where name=’COMODO Client – Communication Updater’ call Uninstall