none
Extra Tabs opening in Internet Explorer RRS feed

  • Question

  • I use the following Powershell code to configure the IE Home Pages:

    ## Set Internet Explorer Home Pages in registry
    Write-Verbose "Setting Internet Explorer Home Pages"
    $HPKey = "HKCU:\Software\Microsoft\Internet Explorer\main"
    $URL1 = "http://www.williamblair.com"
    $URL2 = "http://www.wbremote.com"
    
    Start-Process iexplore.exe
    Stop-Process -ProcessName iexplore
    
    Set-ItemProperty -Path $HPKey -Name "Start Page" -Value $URL1
    Set-ItemProperty -Path $HPKey -Name "Secondary Start Pages" -Value $URL2

    Everything gets set correctly, but when i first start IE, I get extra tabs that open up with strange Chinese characters in them in addition to the home pages I select.  

    Anyone have any ideas why this happens?


    Matt Dillon

    Thursday, July 10, 2014 7:05 PM

Answers

All replies

  • Hi,

    somehow any third start page is added to starting pages. It's hard to say why, but below simple code works as expected, according to - http://blogs.technet.com/b/heyscriptingguy/archive/2009/01/07/how-can-i-change-my-internet-explorer-home-page.aspx

    Function Set-ieStartPage()
    {
      $hkcu = 2147483649
      $key = "Software\Microsoft\Internet Explorer\Main"
      $property = "Start Page"
      $property2 = "Secondary Start Pages"
      $value = "http://www.microsoft.com"
      $aryValues = "http://google.com",
      "http://msdn.com"
      $wmi = [wmiclass]"\\$computer\root\default:stdRegProv"
      $rtn = $wmi.SetStringValue($hkcu,$key,$property,$value)
      $rtn2 = $wmi.SetMultiStringValue($hkcu,$key,$property2,$aryValues)
      "Setting $property returned $($rtn.returnvalue)"
      "Setting $property2 returned $($rtn2.returnvalue)"
    } #end Set-ieStartPage
    
    $computer="localhost"
    Set-ieStartPage

    Thursday, July 10, 2014 7:25 PM
  • Hmm.  My code works fine.  I was curious to how extra tabs are being added.  It is very strange.  i will post a picture of what happens shortly as I am running the code on a newly imaged PC as i write this.  

    Matt Dillon

    Thursday, July 10, 2014 7:37 PM
  • I use the following Powershell code to configure the IE Home Pages:

    ## Set Internet Explorer Home Pages in registry
    Write-Verbose "Setting Internet Explorer Home Pages"
    $HPKey = "HKCU:\Software\Microsoft\Internet Explorer\main"
    $URL1 = "http://www.williamblair.com"
    $URL2 = "http://www.wbremote.com"
    
    Start-Process iexplore.exe
    Stop-Process -ProcessName iexplore
    
    Set-ItemProperty -Path $HPKey -Name "Start Page" -Value $URL1
    Set-ItemProperty -Path $HPKey -Name "Secondary Start Pages" -Value $URL2

    Everything gets set correctly, but when i first start IE, I get extra tabs that open up with strange Chinese characters in them in addition to the home pages I select.  

    Anyone have any ideas why this happens?


    Matt Dillon

    Hi Matt,

    the first step in troubleshooting browser issues is to test in noAddons mode.

    then ensure you are accepting the default IE security zone settings and that none of your start pages are in a Higher Integrity IE security zone.

    Tools>Internet Options>Security tab, click "Reset all zones to default"

    Trusted and Intranet zone icons, 'Sites' button.

    are any of your start page domains in those zones?

    Remove them.

    Regards.


    Rob^_^

    Thursday, July 10, 2014 7:57 PM
  • Hi,

    since there is no extra tab in the PowerShell command in the post, extra tab might lie in the Internet Explorer itself, I suggest to reset the Internet Explorer in the following way:

    1.Close all Internet Explorer windows that are currently open.

    2.Open the desktop, and then tap or click the Internet Explorer icon on the taskbar. Changing your settings will affect both Internet Explorer and Internet Explorer for the desktop.

    3.Tap or click the Tools button Tools, and then tap or click Internet options.

    4.Tap or Click the Advanced tab, and then tap or click Reset.

    5.In the Reset Internet Explorer Settings dialog box, tap or click Reset.

    6.When Internet Explorer finishes applying default settings, tap or click Close, and then tap or click OK. You'll need to restart your PC for these changes to take effect


    Wade Liu
    TechNet Community Support

    Sunday, July 20, 2014 2:03 AM
  • how extra tabs are being added.

    Do you have in Options General tab  Start with tabs from last session  set?   If so, and if there has been no "last session" yet perhaps there is a bug for that case?   Tip:  toggle that setting anyway.  Toggling it seems to have some kind of limited repair inherent in that procedure.  (YMMV.)

    C.f.

    http://answers.microsoft.com/en-us/ie/forum/ie11-iewindows8_1/ie-11-doesnt-restore-last-sessions-tabs/62b0a9ba-02dd-4d3d-bbc0-0626cdd7f0e5?page=2

    Good luck



    Robert Aldwinckle
    ---

    Sunday, July 20, 2014 3:24 PM
    Answerer
  • I was just wondering if you managed to find a solution to this problem as I am having the same issue, I've narrowed it down a bit and as it turns out it's being caused by the "Secondary Start Pages" registry key, and has nothing to do with the method in which this key is created. Even manually creating this key always causes this problem too (within our organisation) and having tried multiple different websites etc I can confirm that it has nothing to do with the actual value of the key either.
    Thursday, June 25, 2015 11:06 AM
  • any solution to this? I started seeing this as well after using the secondary start pages key...
    Wednesday, December 5, 2018 11:50 PM