通过修改注册表实现IE设置

添加信任站点和允许ActiveX批处理https://www.cnblogs.com/linyijia/p/3680468.html
====================================================================================
1.如果是用IP
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range10" /v ":Range" /t REG_SZ /d 192.168.0.8 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range10" /v "http" /t REG_DWORD /d 2 /f

2.如果用网址写法(www.baid.com 即第一个点前面的放在后面 baidu.com\www ,二级域名也是一样 例如fanyi.baidu.com 写法为:baidu.com\fanyi  )
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\baidu.com\www" /v http /t REG_DWORD /d 0x00000002 /f

https://www.ncsbdc.com
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\ncsbdc.com\www
https REG_DWORD 0x00000002

http://fszfpt.jxf.gov.cn
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\jxf.gov.cn\fszfpt
http REG_DWORD 0x00000002

3.允许ActiveX批处理
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1001" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1004" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1200" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1201" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "1405" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "2201" /t REG_DWORD /d 0 /f

以下为自定义activeX全启用的
CurrentLevel=dword:00000000
1200=dword:00000000
1001=dword:00000000
1004=dword:00000000
1201=dword:00000000
1208=dword:00000000
1209=dword:00000000
120A=dword:00000000
1405=dword:00000000
2000=dword:00000000
2201=dword:00000000
120B=dword:00000003
2702=dword:00000000
270C=dword:00000000


IE取消启用保护模式
====================================================================================
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
2500 = 0x00000000 (开启),0x00000003(关闭)


IE安全级别
====================================================================================
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
CurrentLevel REG_DWORD
高: 0x00012000  中高:0x00011500   中:0x00011000

posted @ 2020-08-13 13:04  publiter  阅读(1050)  评论(0)    收藏  举报