<p>Right, initially ran:</p>

<pre><code>c:\regsvr32 Amazing.dll
</code></pre>

<p>then, (accidentally - I might add) I must have run it again, and (indeed) again when new versions of 'Amazing.dll' were released. Yes - I know <em>now</em> I should've run:</p>

<pre><code>c:\regsvr32 /u Amazing.dll
</code></pre>

<p>beforehand - but hey! I forgot.</p>

<p>To cut to the chase, when add the COM reference in VS, I can see 3 instances of 'Amazing' all pointing to the same location (c:\Amazing.dll), running <code>regsvr32 /u</code> removes one of the references, the second time - does nothing...</p>

<p>How do I get rid of these references? 
Am I looking at a regedit scenario? - If so - what <em>exactly</em> happens if I delete one of the keys???</p>

<p>Cheers</p>

[{'answer_id': 19730, 'author': 'Johnno Nolan', 'author_id': 1116, 'author_profile': 'https://Stackoverflow.com/users/1116', 'pm_score': 0, 'selected': False, 'text': "<p>I've got myself into a horrible mess with COM before. I had to pick my way though the registry deleting each reference, unfortunately.</p>\n"}, {'answer_id': 19740, 'author': 'Scott Marlowe', 'author_id': 1683, 'author_profile': 'https://Stackoverflow.com/users/1683', 'pm_score': 5, 'selected': True, 'text': "<p>Your object's GUID's should not be changing. In other words, once you register the COM object, re-registering shouldn't be adding anything additional to the registry.</p>\n\n<p>Unless you added additional COM interfaces or objects to the project.</p>\n\n<p>In any case, if this is a one time deal (and it sounds like it is), open regedit and delete the unneeded keys manually.</p>\n"}, {'answer_id': 19770, 'author': 'Shaun Austin', 'author_id': 1120, 'author_profile': 'https://Stackoverflow.com/users/1120', 'pm_score': 2, 'selected': False, 'text': '<p>There\'s a tool by MS that is still floating around and has been since Win95 days which scans the registry and does stuff like finds COM keys that aren\'t pointing at a valid file anymore etc called RegClean (I found it here: <a href="http://downloads.zdnet.com/abstract.aspx?assetid=881470&amp;node=2094" rel="nofollow noreferrer">http://downloads.zdnet.com/abstract.aspx?assetid=881470&amp;node=2094</a>) which I\'ve seen some places still using particularly when messing with legacy COM stuff in VB which are generating new COM GUIDs after every build.</p>\n\n<p>So if you got that, then unreg\'d and deleted or moved the file, run the app and it will clean out the "orphaned" entries.</p>\n\n<p>If you do decide to remove the keys using RegEdit, you might need to remove the class ids as well as the guid entries. </p>\n'}]
['https://Stackoverflow.com/questions/19725', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2266/']