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;
- HKLMSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsInstalledSDB<GUID>
Delete these and you will then be able to re-import your custom SHIM.