SDBINST: An installed file with the same ID was found, Error: couldn’t open SDB –

By |2017-12-08T17:14:13+00:00February 22nd, 2012|Azure, Cloud, Windows|0 Comments

Hi There,

During testing of a SHIM to fix an application, I accidentally deleted the SDB file from C:WindowsAppPatchCustom, rather than using the sdbinst -u <guid> command to uninstall properly. Whilst attempting to re-run this command I was hit with the following error;

This error was preventing me from using sdbinst to reinstall the SHIM.

The solution is pretty simple – there are two locations in the registry that need removing;

  • HKLMSoftwareMicrosoftWindowsCurrentVersionUninstall<GUID>.sdb
  • HKLMSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsInstalledSDB<GUID>

Delete these and you will then be able to re-import your custom SHIM.


Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.