需要从DCOM配置中删除对象(DCOMCNFG) [英] Need to remove an Object from DCOM config (DCOMCNFG)
问题描述
我们有一个应用程序与activex的exe和一个com。安装后,我们得到一个在DCOM配置中创建的对象。
如果我们尝试从DCOM配置中删除此对象,它会关闭,直到我们再次重新打开它。
想知道是否有任何过程从DCOM及其注册表中完全删除此对象。
不知道为什么会被标记为VB.Net,但...
您可以通过使用命令行开关运行EXE来删除大多数服务器的注册条目:
然而,这会在 HKCR之下留下一个系统综合的条目(参见下面的例子): \AppID
第一次使用后。
据我所知,你必须手动删除,因为编译的程序不知道密钥曾经
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.
解决方案 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
这篇关于需要从DCOM配置中删除对象(DCOMCNFG)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!