【问题标题】:commandline for adding trusted intranet site to IE用于将受信任的 Intranet 站点添加到 IE 的命令行
【发布时间】:2014-03-27 13:12:25
【问题描述】:

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

【问题讨论】:

    标签: internet-explorer batch-file trusted-sites


    【解决方案1】:

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

    OP 写道:

    1. 制作了一个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. 制作了一个批处理文件:

    regedit -s addtrust.reg

    警告:编辑注册表非常危险,不应该这样做,尽管它可能是唯一的方法。

    【讨论】:

      猜你喜欢
      • 2011-08-28
      • 1970-01-01
      • 2015-05-31
      • 1970-01-01
      • 2010-11-01
      • 1970-01-01
      • 2023-03-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多