我正在从网络共享运行一批。该批处理正在打开一个新批处理,然后我收到安全警告。我想删除它,所以我不需要一直按“运行”。我通过在 IE 中将服务器 IP 输入到 Intranet 上的受信任站点来手动测试它。是否有一个命令可以注入(inject)到我的批处理中,使我的计算机自动添加它?
最佳答案
(由 OP 在编辑中回答。见 Question with no answers, but issue solved in the comments (or extended in chat) )
OP写道:
- 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"
- 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/