以下代码亲测有效,根据自己情况修改对应参数即可
注: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
正文完