添加信任站点和允许ActiveX批处理https://www.cnblogs.com/linyijia/p/3680468.html
====================================================================================
1.如果是用IP
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapRangesRange10" /v ":Range" /t REG_SZ /d 192.168.0.8 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapRangesRange10" /v "http" /t REG_DWORD /d 2 /f
2.如果用网址写法(www.baid.com 即第一个点前面的放在后面 baidu.comwww ,二级域名也是一样 例如fanyi.baidu.com 写法为:baidu.comfanyi )
reg add "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapDomainsaidu.comwww" /v http /t REG_DWORD /d 0x00000002 /f
https://www.ncsbdc.com
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapDomains
csbdc.comwww
https REG_DWORD 0x00000002
http://fszfpt.jxf.gov.cn
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsoneMapDomainsjxf.gov.cnfszfpt
http REG_DWORD 0x00000002
3.允许ActiveX批处理
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /v "1001" /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /v "1004" /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /v "1200" /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /v "1201" /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /v "1405" /t REG_DWORD /d 0 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones2" /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_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones3
2500 = 0x00000000 (开启),0x00000003(关闭)
IE安全级别
====================================================================================
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settingsones3
CurrentLevel REG_DWORD
高: 0x00012000 中高:0x00011500 中:0x00011000