Friday, January 29, 2010

How to uninstall program in Windows using UninstallString?

Use “UninstallString” information from windows registry to uninstall the program.

Steps:

  • From command prompt, type regedit
  • In registry windows, find key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.
  • You’ll see there are many keys inside it, check it one by one until you found the program that you wanted to uninstall.
  • From the detail at the right panel, find string value called UninstallString.
  • Copy the value, in example MsiExec.exe /X{071c9b48-7c32-4621-a0ac-3f809523288f}.
  • Open command prompt again, paste the value and execute it.
  • Now your program can be uninstalled safely.

No comments:

Post a Comment