5 windows internet-explorer group-policy
我正在尝试使用组策略将特定的 Web 服务器 URL 添加到我的客户端 PC 上的本地 Intranet 区域。任何想法应用什么政策?
我可以通过 Internet Explorer 的 Internet 选项... GUI 对话框来执行此操作,而且效果很好,但我需要将此策略推广到多台 PC。
提前致谢,丹
您需要一个适用于 Authenticated Users 的策略,并且在该策略中您需要设置以下选项:
User config| Administrative Templates| Windows Components| Internet Explorer| Internet Control Panel|Security Page
启用该选项Site to Zone Assignment List,然后输入站点以及您要将其分配到的区域,例如。
(1 = Intranet 区域,2 = 受信任站点区域,3 = Internet 区域,4 = 受限站点区域)
我使用附加到组策略的登录脚本来执行此操作。有关如何存储设置的详细信息,请参阅此知识库文章。
Option Explicit
Dim oShell Set oShell =
WScript.CreateObject("WScript.Shell")
' http://support.microsoft.com/kb/182569
Dim sSite, sDValue, sZone, sKey, sZonesPath, aKeys, aKey
sZonesPath="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains"
sSite=0
sDvalue=1
sZone=2
' create key
aKeys = array( _
array(sZonesPath & "\internet-zone.example.org\","","2"), _
array(sZonesPath & "\intranet-zone.example.org\","","1") _
)
For Each aKey in aKeys
' create key for sSite
oShell.RegWrite akey(sSite), akey(sDvalue)
' add * dword under the site's key and set the sonze
sKey=akey(sSite) & "*"
oShell.RegWrite sKey, akey(sZone), "REG_DWORD"
Next
Run Code Online (Sandbox Code Playgroud)
通过组策略首选项,您可以调整注册表,有关详细信息,请参阅知识库。当然,这仅适用于所有计算机上都安装了客户端扩展的情况。
我发现使用脚本往往是最可靠的方法。
| 归档时间: |
|
| 查看次数: |
33618 次 |
| 最近记录: |