Wednesday 24 December 2008

How to find the uninstall string to uninstall a program from the command line

I was facing the issue of uninstallation of programs/application as the add/remove programs in Windows XP was showing nothing. So I found the following link from google search: http://michaelellerbeck.com/2008/04/25/how-to-find-the-uninstall-string-to-uninstall-a-program-from-the-command-line/

While trying to follow the steps outlined in the above link, I found myself another solution which is as below:

Sometimes if the application you are looking for is not listed under HKLM\Software\Microsoft\Windows\Currentversion\Uninstall\[name ofapplication]\UninstallString you can find them straight under HKLM\Software\Microsoft\Windows\Currentversion\Uninstall\ with example like {350C97B0-3D7C-4EE8-BAA9-00BCB3D54227}
What I’m guessing is if you have NoRemove and NoRemoveInitialValue set to 1 then you can’t uninstall. So the two keys might have to be changed to 0(guessing. Be careful while doing so).

I have left a comment in the above link as well as in the below forum:
http://www.pcreview.co.uk/forums/thread-1466524.php

I hope it helps for all.