通过注册表设置IE的ActiveX运行选项
来源:互联网 发布:怎么设置淘宝发信息 编辑:程序博客网 时间:2024/06/08 08:59
请尊重作者劳动成果,尊重版权。转载或转发帖请注明本链接地址
1:设置安全选项
IE设置的注册表项:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones
Zones下的4个子项:
Value Setting ------------------------------ 0 My Computer 我的电脑 1 Local Intranet Zone 本地internet 2 Trusted sites Zone 受信任的站点 3 Internet Zone internet 4 Restricted Sites Zone 受限制的站点每个下面的值都相同,各值含义如下:
设置0为允许,具体请参照https://support.microsoft.com/en-us/kb/182569。
Value Setting ---------------------------------------------------------------------------------- 1001 ActiveX controls and plug-ins: Download signed ActiveX controls 1004 ActiveX controls and plug-ins: Download unsigned ActiveX controls 1200 ActiveX controls and plug-ins: Run ActiveX controls and plug-ins 1201 ActiveX controls and plug-ins: Initialize and script ActiveX controls not marked as safe for scripting 1206 Miscellaneous: Allow scripting of Internet Explorer Web browser control ^ 1207 Reserved # 1208 ActiveX controls and plug-ins: Allow previously unused ActiveX controls to run without prompt ^ 1209 ActiveX controls and plug-ins: Allow Scriptlets 120A ActiveX controls and plug-ins: ActiveX controls and plug-ins: Override Per-Site (domain-based) ActiveX restrictions 120B ActiveX controls and plug-ins: Override Per-Site (domain-based) ActiveX restrictions 1400 Scripting: Active scripting 1402 Scripting: Scripting of Java applets 1405 ActiveX controls and plug-ins: Script ActiveX controls marked as safe for scripting 1406 Miscellaneous: Access data sources across domains 1407 Scripting: Allow Programmatic clipboard access 1408 Reserved # 1409 Scripting: Enable XSS Filter 1601 Miscellaneous: Submit non-encrypted form data 1604 Downloads: Font download 1605 Run Java # 1606 Miscellaneous: Userdata persistence ^ 1607 Miscellaneous: Navigate sub-frames across different domains 1608 Miscellaneous: Allow META REFRESH * ^ 1609 Miscellaneous: Display mixed content * 160A Miscellaneous: Include local directory path when uploading files to a server ^ 1800 Miscellaneous: Installation of desktop items 1802 Miscellaneous: Drag and drop or copy and paste files 1803 Downloads: File Download ^ 1804 Miscellaneous: Launching programs and files in an IFRAME 1805 Launching programs and files in webview # 1806 Miscellaneous: Launching applications and unsafe files 1807 Reserved ** # 1808 Reserved ** # 1809 Miscellaneous: Use Pop-up Blocker ** ^ 180A Reserved # 180B Reserved # 180C Reserved # 180D Reserved # 180E Allow OpenSearch queries in Windows Explorer # 180F Allow previewing and custom thumbnails of OpenSearch query results in Windows Explorer # 1A00 User Authentication: Logon 1A02 Allow persistent cookies that are stored on your computer # 1A03 Allow per-session cookies (not stored) # 1A04 Miscellaneous: Don't prompt for client certificate selection when no certificates or only one certificate exists * ^ 1A05 Allow 3rd party persistent cookies * 1A06 Allow 3rd party session cookies * 1A10 Privacy Settings * 1C00 Java permissions # 1E05 Miscellaneous: Software channel permissions 1F00 Reserved ** # 2000 ActiveX controls and plug-ins: Binary and script behaviors 2001 .NET Framework-reliant components: Run components signed with Authenticode 2004 .NET Framework-reliant components: Run components not signed with Authenticode 2007 .NET Framework-Reliant Components: Permissions for Components with Manifests 2100 Miscellaneous: Open files based on content, not file extension ** ^ 2101 Miscellaneous: Web sites in less privileged web content zone can navigate into this zone ** 2102 Miscellaneous: Allow script initiated windows without size or position constraints ** ^ 2103 Scripting: Allow status bar updates via script ^ 2104 Miscellaneous: Allow websites to open windows without address or status bars ^ 2105 Scripting: Allow websites to prompt for information using scripted windows ^ 2200 Downloads: Automatic prompting for file downloads ** ^ 2201 ActiveX controls and plug-ins: Automatic prompting for ActiveX controls ** ^ 2300 Miscellaneous: Allow web pages to use restricted protocols for active content ** 2301 Miscellaneous: Use Phishing Filter ^ 2400 .NET Framework: XAML browser applications 2401 .NET Framework: XPS documents 2402 .NET Framework: Loose XAML 2500 Turn on Protected Mode [Vista only setting] # 2600 Enable .NET Framework setup ^ 2702 ActiveX controls and plug-ins: Allow ActiveX Filtering 2708 Miscellaneous: Allow dragging of content between domains into the same window 2709 Miscellaneous: Allow dragging of content between domains into separate windows 270B Miscellaneous: Render legacy filters 270C ActiveX Controls and plug-ins: Run Antimalware software on ActiveX controls
2:添加受信任站点
添加受信任站点Activex才能正常运行。
例如要添加www.google.com
注册表项HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains下添加子项google.com,默认值即可
添加完成后在HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com下添加子项www
www项设置值http,类型REG_DWORD, 值为2.
添加完成。
3:制作bat文件:
注意事项:
Bat文件名和bat里使用的命令重名时会导致双击bat运行不正常,重复执行语句,但不能正确执行
例如:
Reg.bat里使用
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\localhost" /V http /T reg_dword /D
会导致bat在cmd下可以运行但双击bat文件会非正常运行。
reg add为添加注册表项命令,具体使用方法可网上查询。
0 0
- 通过注册表设置IE的ActiveX运行选项
- 通过注册表修改IE的Internet选项
- 通过注册表修改IE的Internet选项
- 通过注册表修改IE设置
- 通过注册表修改IE设置
- 通过注册表设置IE首页
- IE安全选项巧用注册表设置
- 使用Js脚本 修改控制IE的注册表相关设置(activex等)
- 使用Js脚本 修改控制IE的注册表相关设置(activex等)
- 使用Js脚本 修改控制IE的注册表相关设置(activex等)
- 使用Js脚本 修改控制IE的注册表相关设置(activex等)
- 通过注册表来修改IE安全设置
- IE安全选项对应的注册表值
- IE-Internet操作选项设置与注册表项对应关系
- IE-Internet操作选项设置与注册表项对应关系
- VBS 通过注册表修改ie的安全级别,允许本地文件的脚本运行
- IE的安全设置中设成“启用,运行,下载activeX控件”程序控制的实现的原理
- IE选项注册表控制大全
- asp.net checkboxlist 后台动态绑定,前台jquery获取value
- ssh
- 猴子吃桃问题
- Rotating Scoreboard - POJ 3335 半平面交
- SharePoint 2013 的软件边界和限制
- 通过注册表设置IE的ActiveX运行选项
- Spring Security 中的盐值加密
- 数据库基本操作
- 阿里巴巴2015算法工程师实习生笔试卷
- 常用的排序
- 统计字符的个数(经常用得到)
- C#关于DateTime得到的当前时间的格式和用法
- eclipse 常用快捷键
- linux驱动程序开发流程