I have several programs I want to uninstall from my computer (Windows 7 64bit).
Is there a batch\script that can help me do it? or I need to do it one by one from Control Panel?
If there isn’t for Windows 7, is there something like this in XP?
thanks,
Dor.
There isn’t really an
uninstallcommand kind of thing in cmd that I know of. You could however query this reg keyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall(might also need to check
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstallif you’re on a 64-bit machine)to find the program you want to uninstall. Each one will have an
UninstallStringvalue which will tell you the path to the programs uninstaller file which you can then execute by calling it’s full path and filename.If the uninstaller happens to be an msi you can use
msiexec /uninstall /xto silently uninstall it. This is about as much as you can do with batch I think.Hope this helps!