@echo off 
color F9
title IEȫű
echo 
echo ***********************************************************************
echo * : IEȫű
echo * ˵ϵͳװУ벻Ҫر 
echo * ʶϪй  
echo * װ ʾ ֵ ѴڣҪ Yes/No  yٰس
echo ***********************************************************************
echo վIPַȻسֱʹĬIP127.0.0.1
set /p InputIP=http://127.0.0.1
Rem жΪʹĬֵ
if "%InputIP%"=="" set InputIP=http://127.0.0.1
echo 1001 ǩ ActiveX ؼ  
echo 1004 δǩ ActiveX ؼ  
echo 1200  ActiveX ؼͲ  
echo 1201 ûбΪȫ ActiveX ؼгʼͽű  
echo 1405 ԱΪɰȫִнű ActiveX ؼִнű  
echo 2104 վûеַ״̬Ĵ
echo 2102 ɽűʼĴڣܴСλ
echo 1406 ͨԴ  
Rem ʼ޸ע
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1001 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1004 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1200 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1201 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1405 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1406 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 1607 /t REG_DWORD /d 00000000 /f  
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v 2104 /t REG_DWORD /d 00000000 /f   
Rem IPΪվ
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range100" /v "*" /t REG_DWORD /d 00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Ranges\Range100" /v ":Range" /t REG_SZ /d %InputIP% /f
echo װ!  
pause   