Microsoft provides a "Program Install and Uninstall Troubleshooter" (formerly known as msizap ). This tool automatically detects and purges orphaned uninstall entries.