user2261471
user2261471

Reputation: 41

Need to remove an Object from DCOM config (DCOMCNFG)

We have an application with activex exe and a com dll. After installing we get an object created in DCOM config.

If we try to delete this object from DCOM config, it goes off till we again reopen it. Want to know if there's any procedure to delete this object completely from DCOM and its registries.

Upvotes: 3

Views: 6360

Answers (2)

justin
justin

Reputation: 21

Search for the Application ID in the registry and delete all keys that contain a reference to it. Apologies for replying to an old post, but I just had to do this today to clean up a corrupted Altiris Agent uninstall.

Upvotes: 2

Bob77
Bob77

Reputation: 13267

No idea why this would be tagged VB.Net, but...

You can remove most of the server's registration entries by running the EXE with a command line switch as in:

MyAx.EXE /unregserver

However this leaves a system-synthesized entry under HKCR\AppID after first use.

As far as I know you must manually remove this since the compiled program has no idea the key was ever created (i.e. it did not do this itself).

See DCOMCNFG and AppID.exe mapping and implications

Upvotes: 4

Related Questions