internet-explorer - 用于将受信任的 Intranet 站点添加到 IE 的命令行

标签 internet-explorer batch-file trusted-sites

我正在从网络共享运行一批。该批处理正在打开一个新批处理,然后我收到安全警告。我想删除它,所以我不需要一直按“运行”。我通过在 IE 中将服务器 IP 输入到 Intranet 上的受信任站点来手动测试它。是否有一个命令可以注入(inject)到我的批处理中,使我的计算机自动添加它?

最佳答案

(由 OP 在编辑中回答。见 Question with no answers, but issue solved in the comments (or extended in chat) )

OP写道:

  1. Made a regfile:

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\192.168.1.241] "*"=dword:00000001"

  1. Made a batchfile:

regedit -s addtrust.reg

WARNING: Editing the registry is quite dangerous, and shouldn't be used to do this, though it may be the only way.

关于internet-explorer - 用于将受信任的 Intranet 站点添加到 IE 的命令行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22688741/

相关文章:

css - IE wordpress 导航样式在登录时完美,但在注销时不完美

android-studio - 如何在没有控制台窗口的情况下从 .bat 运行 AVD 模拟器?

windows - 通过批处理检查Web应用程序的可用性?

c# - 如何在 Internet Explorer 中将 URL 添加到受信任的区域?

internet-explorer - 不同浏览器对 X-UA-Compatible 标签的行为如何?

css - 在 IE 9 及以下版本的样式文本输入中没有插入点

从 VBS 调用的 Javascript 代码在运行时抛出未指定的错误

batch-file - 不支持使用 Adob​​e AIR NativeProcess 在 Windows 上启动 .bat 文件?

.net - 以编程方式将受信任的站点添加到 Internet Explorer

c++ - 如果当前页面(站点)在受信任的站点区域中,是否可以从 ActiveX 代码中检查?