国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 操作系統(tǒng) > 正文

修改注冊(cè)表添加信任站點(diǎn)及啟用Activex控件

2024-06-28 13:05:21
字體:
供稿:網(wǎng)友

////////////////////////////////////////////////////////////////////////
//
//    添加信息站點(diǎn)及將指定ip添加到本地Intranet中,
//    "*"=dWord:00000002 表示受信任的站點(diǎn)區(qū)域
//    "*"=dword:00000001 表示本地 Intranet 區(qū)域
//
////////////////////////////////////////////////////////////////////////

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/ZoneMap/Ranges]
@=""

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/ZoneMap/Ranges/Range100]
"*"=dword:00000002
":Range"="192.168.10.121"

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/ZoneMap/Ranges/Range101]
"*"=dword:00000001
":Range"="192.168.10.121"

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/Zones/2]
@=""
"DisplayName"="可信站點(diǎn)"
"CurrentLevel"=dword:00001000
"Flags"=dword:00000043
"1004"=dword:00000000
"1201"=dword:00000000
"1402"=dword:00000000
"2201"=dword:00000000

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/Zones/1]
@=""
"DisplayName"="本地 Intranet"
"CurrentLevel"=dword:00000000
"1001"=dword:00000000
"1004"=dword:00000000
"1201"=dword:00000000

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/Zones/3]
@=""
"DisplayName"="Internet"
"CurrentLevel"=dword:00000000
"1001"=dword:00000000
"1004"=dword:00000000
"1201"=dword:00000000


 

/////////////////////////////////////////////////////////////////////////////
//
// 通過網(wǎng)頁(yè)修改activex安全設(shè)置,添加信任站點(diǎn),禁用彈出窗口阻止程序
//
/////////////////////////////////////////////////////////////////////////////

信任站點(diǎn)的注冊(cè)表項(xiàng)

HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/ZoneMap/Ranges/Range[*]

ActiveX的注冊(cè)表項(xiàng)

HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet Settings/Zones/[0-4]/[*]

[0-4]

值           設(shè)置
------------------------------
0          我的電腦
1          本地 Intranet 區(qū)域
2          受信任的站點(diǎn)區(qū)域
3          Internet 區(qū)域
4          受限制的站點(diǎn)區(qū)域

[*]

1001       下載已簽名的 ActiveX 控件
1004       下載未簽名的 ActiveX 控件
1200       運(yùn)行 ActiveX 控件和插件
1201       對(duì)沒有標(biāo)記為安全的 ActiveX 控件進(jìn)行初始化和腳本運(yùn)行
1405       對(duì)標(biāo)記為可安全執(zhí)行腳本的 ActiveX 控件執(zhí)行腳本
2201       ActiveX 控件自動(dòng)提示 **

彈出窗口阻止程序的注冊(cè)表項(xiàng)

HKEY_CURRENT_USERHKCU/Software/Microsoft/Internet Explorer/New Windows/PopupMgr

具體腳本如下:

<SCRIPT LANGUAGE="javaScript">
<!--
var WshShell=new ActiveXObject("WScript.Shell");
//添加信任站點(diǎn)ip

WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range100//","");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range100//http","2","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range100//:Range","192.168.0.1");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range101//","");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range101//http","2","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//ZoneMap//Ranges//Range101//:Range","192.168.0.2");
//修改IE ActiveX安全設(shè)置

WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//1001","0","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//1004","0","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//1200","0","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//1201","0","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//1405","0","REG_DWORD");
WshShell.RegWrite("HKCU//Software//Microsoft//Windows//CurrentVersion//Internet Settings//Zones//3//2201","0","REG_DWORD");
//禁用xinxp彈出窗口阻止程序

WshShell.RegWrite("HKCU//Software//Microsoft//Internet Explorer//New Windows//PopupMgr","no");

alert("active控件安全設(shè)置,彈出窗口設(shè)置,信任站點(diǎn)設(shè)置成功");
//-->

</SCRIPT>


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 民县| 德保县| 从江县| 依安县| 浪卡子县| 措美县| 孝义市| 济南市| 新竹县| 繁昌县| 西峡县| 贺兰县| 澳门| 安义县| 视频| 大渡口区| 上蔡县| 罗山县| 阳曲县| 铁岭市| 甘泉县| 会同县| 正阳县| 花莲县| 井冈山市| 蒙山县| 南投县| 新巴尔虎右旗| 紫云| 武功县| 讷河市| 云和县| 新乡县| 新邵县| 尼勒克县| 洛南县| 绥滨县| 奉新县| 临夏市| 鄂托克旗| 丹江口市|