WellingtonIS
asked on
vb script or bat file to remove software
I'm looking for something to remove an installed software application, non-microsoft remotely. Anybody have vb or bat file?
is there an uninstall package?
ASKER
the file is an .exe but I don't see an uninstall in the folder. Only via add/remove programs
Find this key in the registry...
HKEY_LOCAL_MACHINE\SOFTWAR E\Microsof t\Windows\ CurrentVer sion\Unins tall
Search under that key for the app name, and you will find an UninstallString value.
That can be used for uninstalling at the command line. Can be used in a logon script, PSExec for remote uninstall, etc....
HKEY_LOCAL_MACHINE\SOFTWAR
Search under that key for the app name, and you will find an UninstallString value.
That can be used for uninstalling at the command line. Can be used in a logon script, PSExec for remote uninstall, etc....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Using the value in the registry, you should be able to create an .cmd file to perform the task.
Regards
Regards
ASKER
that is very cool. I'm trying to script it.
wmic
can't get the 2nd line!
product where name="Siemens Pharmacy 23.07.9034" call unistall /y
wmic
can't get the 2nd line!
product where name="Siemens Pharmacy 23.07.9034" call unistall /y
wmic product where name="Siemens Pharmacy 23.07.9034" call uninstall /nointeractive
All one one line in a batch file....
All one one line in a batch file....
ASKER
worked like a charm!! thanks.1