Wednesday, August 17, 2016

uninstall a program with command

To know the name of already installed software in your computer

wmic product get name

and to uninstall software by their name

wmic product where name="windows live writer" call uninstall

To terminate a running program without asking for save

wmic process where name="iexplore.exe" call terminate
wmic process where name="notepad.exe" call setpriority 64
wmic /node:steve-pc service list brief

No comments:

Post a Comment