none
Set IE Home Page - Multiple Tabs

    Question

  • I know how to set the default home page for IE using GPs.  Is there a way to add a default webpage to existing user defaults?  For example, if a user had yahoo.com set as their default webpage, is it possible to add another default webpage that opens in an additional tab using GPs?  We'd like to set our company internal Sharepoint site as a default homepage, but not remove or alter users existing default pages as well. 

    Thanks!

    Eric

    Thursday, February 21, 2013 6:43 PM

Answers

All replies

  • Hello,

    You can use Group Policy Preferences Registry and set only the
     "Secondary Start Pages" located in HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.

    Another way would be to write a script that reads the homepages from registry and adds a new page to the registry.

    As a good start for scripting, please have a look at:

    http://blogs.technet.com/b/heyscriptingguy/archive/2007/09/10/how-can-i-assign-multiple-home-pages-to-internet-explorer-7-0.aspx?Redirected=true


    MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!

    • Marked as answer by seag33k Thursday, February 21, 2013 9:28 PM
    Thursday, February 21, 2013 7:02 PM
  • Thanks! I will take a look at the first option and see what I can accomplish.
    Thursday, February 21, 2013 7:06 PM
  • Looks like the first option may do the trick for our needs!
    Thursday, February 21, 2013 9:27 PM
  • Am 21.02.2013 20:02, schrieb Matthias Wolf [MVP]:
    > You can use Group Policy Preferences Registry and set only the
    >  "Secondary Start Pages" located in
    > HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.
     
    And you can even use Item Level Targeting to
     
    a) maintain previous contents of secondary start pages
    b) add your start page only if it is missing
     
    Sample XML for HKCU\Software\Test:currContent
     
    <?xml version="1.0" encoding="UTF-8"?>
    <Registry bypassErrors="1" uid="{B497FD22-4A1F-4304-839E-4FADE6375FAF}"
    changed="2013-02-22 13:48:33" image="7" status="CurrContent"
    name="CurrContent"
    clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}"><Properties
    name="CurrContent" value="Present %myVariable%" type="REG_MULTI_SZ"
    key="software\Test" hive="HKEY_CURRENT_USER" default="0"
    displayDecimal="0"
    action="U"><Values><Value>Present</Value><Value>%myVariable%</Value></Values></Properties><Filters><FilterRegistry
    type="MATCHVALUE" key="Softtware\Test" hive="HKEY_CURRENT_USER" lte="0"
    gte="1" max="0.0.0.0" min="0.0.0.0" valueData="Present"
    valueType="REG_MULTI_SZ" valueName="CurrContent" subtype="SUBSTRING"
    not="1" bool="AND"/><FilterRegistry type="GETVALUE" key="Software\Test"
    hive="HKEY_CURRENT_USER" lte="0" gte="1" max="0.0.0.0" min="0.0.0.0"
    valueType="REG_MULTI_SZ" valueName="CurrContent" not="0" bool="AND"
    variableName="MyVariable"/><FilterRunOnce not="0" bool="AND"
    id="{13073B1B-BB2E-4F33-BB8E-3F724169FC96}" hidden="1"/>
    </Filters></Registry>
     
    Basically, we ILT-query for a registry value (type REG_MULTI_SZ, of
    course). If it is does not contain our new page, we feed its current
    content into %myVariable%. Then we feed MyNewHomepage+%myVariable% back
    into our value.
     

    NO THEY ARE NOT EVIL, if you know what you are doing: Good or bad GPOs?
    Wenn meine Antwort hilfreich war, freue ich mich über eine Bewertung! If my answer was helpful, I'm glad about a rating!
    Friday, February 22, 2013 1:52 PM
  • All my scripting has been with VBS or Powershell so XML is new to me.  Do you have any links to how this all works?

    Our new goal is to set the homepage or first tab to our internal intranet page.  We looked at using the Disable changing home page settings preference but the wipes out any existing presets.  Would this process allow us to keep the homepage/first tab set to the local intranet site but not overwrite any of the preset tabs users may have configured?

    Thanks!

    Tuesday, March 19, 2013 8:29 PM
  •  
    > All my scripting has been with VBS or Powershell so XML is new to me.
    >  Do you have any links to how this all works?
    >
     
    My scripting even doesn't include powershell - and XML is not scripting,
    it's just an easy way of describing "content" in a tree format. Just
    like the registry is. Or a file system ;-))
    Lots of introductions to xml exist in the net.
     
    > Our new goal is to set the homepage or first tab to our internal
    > intranet page.  We looked at using the Disable changing home page
    > settings preference but the wipes out any existing presets.  Would
    > this process allow us to keep the homepage/first tab set to the local
    > intranet site but not overwrite any of the preset tabs users may have
    > configured?
    >
     
    Can be easily done with group policy preferences "internet settings":
     

    NO THEY ARE NOT EVIL, if you know what you are doing: Good or bad GPOs?
    Wenn meine Antwort hilfreich war, freue ich mich über eine Bewertung! If my answer was helpful, I'm glad about a rating!
    Tuesday, March 19, 2013 8:41 PM
  • Am 21.02.2013 20:02, schrieb Matthias Wolf [MVP]:
    > You can use Group Policy Preferences Registry and set only the
    >  "Secondary Start Pages" located in
    > HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.
     
    And you can even use Item Level Targeting to
     
    a) maintain previous contents of secondary start pages
    b) add your start page only if it is missing
     
    Sample XML for HKCU\Software\Test:currContent
     
    <?xml version="1.0" encoding="UTF-8"?>
    <Registry bypassErrors="1" uid="{B497FD22-4A1F-4304-839E-4FADE6375FAF}"
    changed="2013-02-22 13:48:33" image="7" status="CurrContent"
    name="CurrContent"
    clsid="{9CD4B2F4-923D-47f5-A062-E897DD1DAD50}"><Properties
    name="CurrContent" value="Present %myVariable%" type="REG_MULTI_SZ"
    key="software\Test" hive="HKEY_CURRENT_USER" default="0"
    displayDecimal="0"
    action="U"><Values><Value>Present</Value><Value>%myVariable%</Value></Values></Properties><Filters><FilterRegistry
    type="MATCHVALUE" key="Softtware\Test" hive="HKEY_CURRENT_USER" lte="0"
    gte="1" max="0.0.0.0" min="0.0.0.0" valueData="Present"
    valueType="REG_MULTI_SZ" valueName="CurrContent" subtype="SUBSTRING"
    not="1" bool="AND"/><FilterRegistry type="GETVALUE" key="Software\Test"
    hive="HKEY_CURRENT_USER" lte="0" gte="1" max="0.0.0.0" min="0.0.0.0"
    valueType="REG_MULTI_SZ" valueName="CurrContent" not="0" bool="AND"
    variableName="MyVariable"/><FilterRunOnce not="0" bool="AND"
    id="{13073B1B-BB2E-4F33-BB8E-3F724169FC96}" hidden="1"/>
    </Filters></Registry>
     
    Basically, we ILT-query for a registry value (type REG_MULTI_SZ, of
    course). If it is does not contain our new page, we feed its current
    content into %myVariable%. Then we feed MyNewHomepage+%myVariable% back
    into our value.
     

    So I'm using this solution to accomplish the adding of a second tab without overwriting the users homepage or secondary homepage, and it works, but only so long as they don't have more than 2 homepages specified. The variable only ever returns the first entry, never the entirty of the registry value. So if they have:

    http://test1.test.com - Homepage

    http://test2.test.com - secondary tab

    http://test3.test.com - thirdly(?) tab

    when the myvariable is passed back, I only ever get http://test2.test.com + the new page I was trying to add. Is this a bug, or does a MULTI_SZ entry, when converted to a variable, only return the first item?

    Friday, March 14, 2014 8:31 PM
  •  
    >     when the myvariable is passed back, I only ever get
    >     http://test2.test.com + the new page I was trying to add. Is this a
    >     bug, or does a MULTI_SZ entry, when converted to a variable, only
    >     return the first item?
     
    How should it return the other "lines"? There's no way to embed a crlf
    into environment variables, so you might be out of luck here :)
     

    Martin

    Mal ein GUTES Buch über GPOs lesen?

    NO THEY ARE NOT EVIL, if you know what you are doing: Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Monday, March 17, 2014 8:00 AM