Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using windows 7 x64 edition and sometimes when I install old programs (with x86 codebase), it give me this error when trying to uninstall it using programs and features:

RunDLL  
There was a problem starting C:\Program  
The specified module could not be found

I'm thinking it's uninstaller can't find the path but how can I fix it? Please do not suggest using 3rd party sollutions. Just want to know what caused this and how to fix.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This can happen if the program's uninstaller is located in Program Files, but the installer fails to put quotation marks around the path when storing the location in the registry. The result is that Windows tries to execute (for example) C:\Program Files\ProgramName\uninstall.exe, but without the quotation marks it sees C:\Program as the executable name and Files\ProgramName\uninstall.exe as the command line arguments.

To fix this, try the following steps:

  • Open regedit.exe
  • Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
  • Locate the key corresponding to the program you're trying to uninstall. Most programs will probably be listed by their GUID, so either step through them all or go to Edit -> Find to search for your program.
  • In the right-hand pane, look for a value called UninstallString. Double-click it and place quotation marks around the path. Just the path, though (from C:\... to ...exe), not any arguments that might be following it. If in doubt, post the current value here.
  • Try to uninstall the program again. If it still doesn't work, post the original value of UninstallString here.
  • Optional: check the program author's website for an updated version that stores its uninstaller information correctly.

Theoretically, you could also copy the program's uninstaller (assuming it's an .exe and you can find it) to C:\ and rename it to Program.exe, but I'm not sure if that would even work. You could also take the corrected version of UninstallPath and save it to a batch file called C:\Program.bat, which would probably work, but is still a more cumbersome solution than the above. I only list these methods for the sake of completeness.

share|improve this answer

protected by Community Sep 29 at 15:27

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.