#9 Uninstall com0com leaving registry entries behind

closed
nobody
None
5
2009-08-19
2009-07-30
John Ludwig
No

When com0com is removed/uninstalled from SOME (not all) machines, it will occationally
leave behind some of the registry keys

When things are installed properly, the following keys exist in the registry:

HKLM SYSTEM\CurrentControlSet\Enum\com0com\ port\ CNCA0\
Control
Device Parameters
logConf

HKLM SYSTEM\CurrentControlSet\Enum\com0com\ port\ CNCB0\ Control
Device Parameters
logConf

After a successful uninstall only one high-level key remains:
HKLM SYSTEM\CurrentControlSet\Enum\com0com\

The problem is that for some reason, on a few machines, the uninstall leaves behind
a partial key:

HKLM SYSTEM\CurrentControlSet\Enum\com0com\ port\ CNCA0\
logConf
But the rest of the keys have been removed.

This left-behind key cannot be manually removed without manually changing the permissions.

Because of a company wide requirements for complete uninstalls, we can NOT leave these registry keys
behind on a PC after an uninstall has supposed to have been performed.

Do you know a cause of why these registry keys could be left behind?
Is there a fix for this condition?? Is this a known bug to uninstalling com0com?
Is there a work around for this?

Any help would be greatly appreciated

Discussion

  • The com0com's uninstaller does not remove those keys itself.
    So it's possible a Windows bug.
    The possible reason is that Enum\com0com\port\CNCA0\logConf or Enum\com0com\port\CNCA0 used by other process while uninstalling.
    Check setupc's output for "Reboot required." message (need "setupc --silent uninstall" before "uninstall /S").
    Possible after reboot those keys will be removed automatically by Windows.
    A possible work around is to install ports again and then uninstall.

     
    • status: open --> pending
     
    • status: pending --> closed
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).