Chaneg the homepage using CMD

by Monday, February 20, 2012 0 comments
1250639072811966051
we can change the home page of Internet explorer and firefox using cmd. what it dose is it creates or changes the default value of Start Page in registry to the one you like

Now go to run > type cmd and copy the following code and right click in the command prompt screen and paste it after taht hit enter hit enter. you'll see a message "The operation completed successfully"


REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F


now replace the NAME OF THE SITE whit the one you'd like, ok this command line would change the homepage of internet explorer.
Now to change the homepage of Mozilla Firefox follow the same procedure and use this command line instead


REG ADD "HKCU\SOFTWARE\Mozilla\Firefox\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F


don't forget to replace the NAME OF THE SITE and hit enter done !
and if you are willing to make a batch/cmd file you can use the code given below


@echo off
cls
REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F
REG ADD "HKCU\SOFTWARE\Mozilla\Firefox\MAIN" /V "START PAGE" /D "NAME OF THE SITE" /F
exit


and save it with extention .bat for example athul.bat or clickme.bat etc...this will change the home page of both Internet Explorer and Mozilla Firefox in a single click

now you know how to change the home page using cmd let you'r imagination run wild save the batch file in you'r friends start up or in some public computer so that You'r site will be the default homepage and each time someone changes it .it change back to you'r site when it restarts *laugh*

so if you face any problem with the codes don't feel shy to clear it out
and note that the command line for changing the home page for fire fox works for the older versions only

Unknown

Network Engg

i am Network Engg in WIPRO