比如说我们要把picasaweb.google.com time.ac.cn *.google.com添加到客户的受信任站点
蓝色部分后面有www(time.ac.cn\www)的为www.time.ac.cn 不加的话默认为*
例:*.google.com
"红色部分为可修改的协议:
例如:"http","ftp"等其它名称。
代码如下:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\com.cn"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\time.ac.cn\www" /v http /t REG_DWORD /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com\picasaweb" /v http /t REG_DWORD /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com\" /v https /t REG_DWORD /d 0x00000002 /f
以上代码保存为*.bat文件。