BCUninstaller/Bulk-Crap-Uninstaller · warning · InvalidOperationException

This application does not have a valid registry entry

Error message

This application does not have a valid registry entry

What it means

ExtractRegistryInfo requires the entry to be registered (IsRegistered true) so it can open the registry key and enumerate its values. Entries not backed by an uninstall registry key (e.g. detected via store, portable, or other means) have nothing to display and trigger this InvalidOperationException from PropertiesWindow_Table_ErrorMissingRegistry.

Source

Thrown at source/BulkCrapUninstaller/Functions/AppPropertiesGatherer.cs:151

            ConvertPropertiesIntoDataTable(lq, dt);
            return dt;
        }

        private static DataTable ExtractOverview(ApplicationUninstallerEntry tag)
        {
            var lq = from property in typeof(ApplicationUninstallerEntry).GetProperties()
                     select new SingleProperty(property.GetLocalisedName(), property.GetValue(tag, new object[] { }));

            // Create and return the table
            var dt = GetCleanDataTable();
            ConvertPropertiesIntoDataTable(lq, dt);
            return dt;
        }

        private static DataTable ExtractRegistryInfo(ApplicationUninstallerEntry tag)
        {
            if (!tag.IsRegistered)
                throw new InvalidOperationException(Localisable.PropertiesWindow_Table_ErrorMissingRegistry);

            var targetKey = tag.OpenRegKey();
            var dt = GetCleanDataTable();

            var valueNames = targetKey.GetValueNames();
            foreach (var valueName in valueNames)
            {
                dt.Rows.Add(valueName, targetKey.GetValue(valueName));
            }

            targetKey.Close();
            return dt;
        }

        private static DataTable GetCleanDataTable()
        {
            var dt = new DataTable {Locale = CultureInfo.InvariantCulture};
            dt.Columns.Add(Localisable.PropertiesWindow_Table_Name, typeof(string));

View on GitHub (pinned to 608321de98)

Solutions

  1. Use the Overview or Certificate tab for entries that are not registry-backed.
  2. Confirm the entry type; store apps legitimately have no classic registry uninstall key.
  3. Rescan to confirm whether the entry should still be considered registered.
Defensive patterns

Strategy: validation

Validate before calling

if (!entry.IsRegistered)
    /* skip / disable the Registry tab */

Prevention

When it happens

Trigger: Opening the Registry tab for a portable, UWP, or win32-store entry that has no uninstall registry key; an entry loaded purely from a cached scan.

Common situations: Store/UWP apps; manually-added entries; entries whose registry key was already deleted.

Related errors


AI-assisted analysis of BCUninstaller/Bulk-Crap-Uninstaller@608321de98 (2026-08-13). Data as JSON: /api/errors/c294a2e730a60335. Report an issue: GitHub.