Need to remove an Object from DCOM config (DCOMCNF

2019-05-20 19:20发布

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.

2条回答
我想做一个坏孩纸
2楼-- · 2019-05-20 19:39

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

查看更多
戒情不戒烟
3楼-- · 2019-05-20 19:39

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.

查看更多
登录 后发表回答