当前位置:首页 > 电脑知识

通过注册表来修改IE安全设置

canca17年前 (2008-12-10)电脑知识482

系统环境:Windows 2003 sp1

IE版本:IE 6.0

HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones下

安全级别currentlevel值:0安全级为自定义,12000安全级为高,11000安全级为

中,10500安全级为中低,10000安全级为低;

0:我的电脑

1:本地 Intranet

2:可信站点

3:Internet

4:受限站点

ActiveX控件和插件的设置,依次为:1405(301),1201(301),1004(301),1001(301),1200(65536,(301));0为启用,3为禁用,1为提示。

1001 下载已签名的 ActiveX 控件
1004 下载未签名的 ActiveX 控件
1200 运行 ActiveX 控件和插件
1201 对没有标记为安全的 ActiveX 控件进行初始化和脚本运行
1405 对标记为可安全执行脚本的 ActiveX 控件执行脚本
2201 ActiveX 控件自动提示

修改IE安全设置(安装、运行未签名的ActiveX控件):
reg add "HKLMSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3" /v 1004 /t REG_DWORD /d 0 /f
reg add "HKLMSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3" /v 1200 /t REG_DWORD /d 0 /f

编写.inf文件修改:

[Version]
Signature=$Chicago$
AdvancedINF=2.5

[DefaultInstall]
RequiredEngine=SetupAPI,"Fatal Error - missing setupapi.dll"
CustomDestination=CustInstDestSection
AddReg=AddReg.Hkcu,AddReg.Hklm

[IeakInstall.Hkcu]
RequiredEngine=SetupAPI,"Fatal Error - missing setupapi.dll"
CustomDestination=CustInstDestSection
AddReg=AddReg.Hkcu

[IeakInstall.Hklm]
RequiredEngine=SetupAPI,"Fatal Error - missing setupapi.dll"
CustomDestination=CustInstDestSection
AddReg=AddReg.Hklm

[CustInstDestSection]
49000,49001,49002,49003=ProgramFilesDir,21
49100,49101,49102,49103=IEDir,21

[ProgramFilesDir]
HKLM,"SOFTWAREMicrosoftWindowsCurrentVersion","ProgramFilesDir",,"%24%Program Files"

[IEDir]
HKLM,"SOFTWAREMicrosoftWindowsCurrentVersionApp Pathsiexplore.exe","Path",,"%49001%Internet Explorer"

[AddReg.Hklm]
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones",1004,0x10001,00,00,00,00
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones",1200,0x10001,00,00,00,00

HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones1",1004,0x10001,03,00,00,00
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones1",1200,0x10001,00,00,00,00

HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2",1004,0x10001,01,00,00,00
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2",1200,0x10001,00,00,00,00

HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3",1004,0x10001,00,00,00,00
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3",1200,0x10001,00,00,00,00

HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones4",1004,0x10001,03,00,00,00
HKLM,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones4",1200,0x10001,03,00,00,00

[AddReg.Hkcu]
HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones",1004,0x10001,00,00,00,00
HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones",1200,0x10001,00,00,00,00

HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones1",1004,0x10001,03,00,00,00
HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones1",1200,0x10001,00,00,00,00

HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones2",1200,0x10001,00,00,00,00

HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3",1004,0x10001,00,00,00,00
HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones3",1200,0x10001,00,00,00,00

HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones4",1004,0x10001,03,00,00,00
HKCU,"SoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones4",1200,0x10001,03,00,00,00

保存为.inf文件后点击右键-安装即可。

扫描二维码推送至手机访问。

版权声明:本文由Ant.Master's Blog发布,如需转载请注明出处。

本文链接:https://iant.work/post/342.html

标签: 电脑知识
分享给朋友:

“通过注册表来修改IE安全设置” 的相关文章

内存不能被read或written错误,系统不停重启

运行某些程序的时候,有时会出现内存错误的提示,然后该程序就关闭。 “0x????????”指令引用的“0x????????”内存。该内存不能为“read”。 “0x????????”指令引用的“0x????????”内存,该内存不能为“written”。 一般出现这个现象...…

主板电容的作用

    电容又称电容器(Capacitor)。它在电路中起着隔直流、通交流的重要作用。电容根据其在电路中不同位置的不同功能,分为耦合电容、滤波电容、谐振电容、旁路电容等类别。另外,电容也可按照填充材料(电介质)进行…

0X????????”指令引用的“0x00000000”内存,该内存不能为“read

使用Windows操作系统的人有时会遇到这样的错误信息: 「“0X????????”指令引用的“0x00000000”内存,该内存不能为“read”或“written”」,然后应用程序被关闭。 如果去请教一些「高手」,得到的回答往往是「Windows就是这样不稳定…

电脑启动报鸣声说明

当打开电脑时,听到的不是平时清脆的启动声,而是一次又一次重复的奇怪的报警声时,你能不能马上判断出故障的所在呢?虽然现在多家厂商都设计出一些智能化的功能,能将报警声转换成语音或是指示灯等,但是有这种功能...…

FLASH ActiveX 静默安装方法

FLASH 插件静默安装方法: 10.0或以下版本: install_flash_player_10_active_x.exe /S 10.0以上版本:install_flash_player_10_active_x.exe /install…

软件静默安装参数集

大部分微软环境下的软件,都能采取全自动或半自动的方式进行。下面以不同的安装方式进行讨论: 一、 Microsoft Windows Installer 如果某个软件是用Windows Installer打包的,那你就应该能在文件夹中看到*.msi文件。这是最典型...…

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。