IE修改默认主页批处理脚本

以下代码亲测有效,根据自己情况修改对应参数即可

注:pause参数为运行后不自动结束弹窗,便于报错观察,运行稳定可以删除此代码

cd\
color 0a
cls
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN" /v "Default_Page_URL" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Default_Page_URL" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN" /v "Default_Page_URL" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN" /v "First Home Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://192.168.4.203:9000/sccbb/l.jsp /f >nul
pause
正文完
 0
365share
版权声明:本站原创文章,由 365share 于2023-06-09发表,共计1495字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。