在注册表中创建一个修改后的自己的Com对象

发布于 2024-09-28 18:07:48 字数 183 浏览 1 评论 0原文

我想修改注册表中的 Internet Explorer CLSID 元素: (HKEY_CLASSES_ROOT\CLSID{0002DF01-0000-0000-C000-000000000046} )

可以复制此条目并替换 GUID 并创建新别名吗? 在哪里可以定义新的别名? (后来我想在PowerShell中打开这个Com对象)

I want to modified the Internet Explorer CLSID element in the registry: (HKEY_CLASSES_ROOT\CLSID{0002DF01-0000-0000-C000-000000000046} )

It is possible to copy this entry and replace the GUID and create a new alias?
Where can I defined a new alias?
(Later I want to open this Com Object in PowerShell)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爺獨霸怡葒院 2024-10-05 18:07:48

注册表项不存在“别名”之类的东西。不过,您可以在 HKCU\Software\Classes\CLSID 中创建一个条目,COM 首先会在那里查找。这也将限制你对机器造成的损坏,并且你实际上能够写入密钥的可能性也有一半。

There is no such thing as an 'alias' for registry keys. You can however create an entry in HKCU\Software\Classes\CLSID, COM looks there first. This would also limit the amount of damage you do to the machine and you'll have halfway decent odds of actually being able to write the key.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文