Need to remove an Object from DCOM config (DCOMCNFG)

核能气质少年 提交于 2019-12-08 01:41:01

问题


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.


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/17487609/need-to-remove-an-object-from-dcom-config-dcomcnfg

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!