Registry key for setting Internet Homepage

shyam pothini
shyam pothini used Ask the Experts™
on
Hello all,

How can create a reg key to change default internet explorer homepage.
I created a reg key in HKCU\.....\Main
it changes for current user.
When I log on with another user no home page.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
HKCU is Current User so your result is to be expected.

Try the same location in HKLM

I just let user change their own page because they will anyway.

Author

Commented:
Thanks
I tried to change in HKLM still the same.
We want to deploy that key over 1500 systems.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
IE is individual by user so you may only be able to set it for the current user.
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

System Analyst
Commented:
Create a new GPO or edit the existing one. (I'm assuming you know how to do this already. Let me know if you don't.)
In the Group Policy Management Editor, go to User Configuration -> Policies -> Administrative Templates -> Windows Components -> Internet Explorer.
Find the policy Disable changing home page settings.
Set it to Enabled, and specify the URL for your home page.
Once it applies, the option in IE will be greyed out on the client PC.
If you want to specify a default that people can change:

My preferred method would be to use Group Policy Preferences to set the necessary Registry values. (Others may disagree.)
In the Group Policy Management Editor, go to User Configuration -> Preferences -> Windows Settings -> Registry.
Right click -> New -> Registry Item
Action = Update
Hive = HKEY_CURRENT_USER
Key Path = Software\Microsoft\Internet Explorer\Main
Value Name = Start Page
Value Type = REG_SZ
Value Data = your Home Page URL
On the Common Tab, check Apply Once and Do not Re-Apply
This will set the home page by default for everyone, but the user will be free to edit it afterwards.
If you go this route, I also recommend that you set a value for Default_Page_URL as well, without checking Apply Once and Do not Re-Apply. This will give your users the ability to click the Use Default button in the IE settings and get back to the company home page.
You probably also want to delete the Secondary Start Pages and Default_Secondary_Page_URL registry values as well.
If you are unfamiliar with these registry values, it would probably be a good idea to open the Registry Editor and look at HKCU\Software\Microsoft\Internet Explorer\Main to understand how they work.
Other ways you can set the IE home page:

In the GPO editor, go to User Configuration -> Preferences -> Windows Settings -> Internet Settings. This may not work for all IE versions out of the box. You may have to update your Administrative Templates.
In the GPO editor, go to User Configuration -> Policies -> Windows Settings -> Internet Explorer Maintenance. However, you may not have this anymore with newer Administrative Templates.
Use the Internet Explorer Administration Kit (IEAK) to create a customized IE build and deploy that.
Use a logon script to apply the same registry settings listed above.
One thing to note about GPOs: Any of the settings in the "Preferences" sections of your GPO will only apply if you have the Group Policy Preference Client Side Extensions and the corresponding dependencies installed. Windows 7-era PCs support this out of the box. However, Vista and XP machines need an update to provide this functionality. A fully updated machine should already have this installed, but if do a reinstall it will take a few patch-reboot cycles.

Author

Commented:
Thanks for the reply
I have idea how to do that using GPO
But we want to create a registry key and deploy it and run on the machines.
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018
Commented:
Create the value in Registry HKCU and export to REG file which you can import on computers
-OR-
Do you have Active Directory?
hkcu.jpg
Tahir QureshiSystem Analyst

Commented:
sorry I think you have miss read my post. I have mention about registry

Thanks Shaun for screenhot
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Commented:
Sorry Tahir. You are right, I did miss it :)
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Commented:
As per Tahir's comment
My preferred method would be to use Group Policy Preferences to set the necessary Registry values. (Others may disagree.)
I also agree with it, also prefer it over IE preferences. My suggestion is a duplicate of what he said
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

Commented:
Best solution

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial