需要从DCOM配置中删除对象(DCOMCNFG) [英] Need to remove an Object from DCOM config (DCOMCNFG)

查看:1467
本文介绍了需要从DCOM配置中删除对象(DCOMCNFG)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个应用程序与activex的exe和一个com。安装后,我们得到一个在DCOM配置中创建的对象。



如果我们尝试从DCOM配置中删除此对象,它会关闭,直到我们再次重新打开它。
想知道是否有任何过程从DCOM及其注册表中完全删除此对象。

解决方案

不知道为什么会被标记为VB.Net,但...



您可以通过使用命令行开关运行EXE来删除大多数服务器的注册条目:

 然而,这会在 HKCR之下留下一个系统综合的条目(参见下面的例子):   \AppID 第一次使用后。



据我所知,你必须手动删除,因为编译的程序不知道密钥曾经



请参阅 DCOMCNFG和AppID.exe映射和含义


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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆