Forum Discussion

ulflundh's avatar
ulflundh
Copper Contributor
Jan 16, 2020

Old Edge icon still in taskbar (MDT)

I started deployment of the newly released Edge MSI (stable) with MDT. The MSI is installed as part of the Task Sequence. During the deployment everything is looking great but when first user logins they have the old Edge icon AND the new Edge icon in taskbar. Clicking on the old icon opens the new Edge. Surely a bug. 

Windows 10 Enterprise 1909 x64

Edge 79.0.309.65

 

  • beeryurt's avatar
    beeryurt
    Brass Contributor

    ulflundh 

     

    More photos of places it shows up

  • James Egan's avatar
    James Egan
    Copper Contributor

    I am having the same problem in SCCM both in OSD and when deploying the created application package through Software Center.  

  • Pedro1982's avatar
    Pedro1982
    Copper Contributor

    I also have the same issue, searching for a solutions for days now. @rishavsharan Is this confirmed as bug? Maybe you known?

     

    This also happens in Edge v80 (stable)

  • beeryurt's avatar
    beeryurt
    Brass Contributor

    ulflundh 

     

    Kind of the same issue going on for me but using symantec altiris, I build my image using MDT, installed edge, went through and set it has the default browser, even went ext by ext and anything that was old edge I set to the new edge. Sysprep and grab the image, deploy

     

    New edge is set as the default mail app but old edge is showing the main browser, click on the main browser option and the only options are new chrome or IE, look at file ext and they are all set to old edge. Guessing this is due to the aggressive level they built old edge to be the default browser in win 10. Even when we set IE 11 using dism in the MDT creation when a fresh image would deploy you get pops up saying "default app had an issue setting it to edge" yet IE 11 would still be the set to to main browser  

  • beeryurt's avatar
    beeryurt
    Brass Contributor

    I have tired just about every setting I can think of change in the gold image but soon as I deploy old edge is back on the system, this kills me using edge in our 1909 image as of now

    • Pedro1982's avatar
      Pedro1982
      Copper Contributor
      Any news on this case? Can anybody from the Edge Team give us an update? 🙂
  • plazenby's avatar
    plazenby
    Copper Contributor

    ulflundh I also have same issue. I installed Edge(chromium) but the old Edge icon reappears after each reboot. 

    • Pedro1982's avatar
      Pedro1982
      Copper Contributor

      So again, any updates on this issue? Can the Edge team please give us an update?

       

       

      • beeryurt's avatar
        beeryurt
        Brass Contributor

        ulflundh 

         

        I have actully found this issue in 1803 also, if you install new edge, set it has the default then go hit reset defaults it changes back to the old icon

         

  • ChrisK9's avatar
    ChrisK9
    Copper Contributor

    ulflundh same problem here, Windows 10 1809 Enterprise x64 installed as Application, getting the "Default App changed"-Notifications and the double-Icon in Taskbar.
    I'll try import a new DefaultAppAssoc.xml and play around with a new Start_Tasklayout.xml, maybe this helps?

     

    Update: Indeed, changing the LayoutModification.xml in %LOCALAPPDATA%\Microsoft\Windows\Shell\ to having the entry of new Edge instead of Edge Legacy, lets the icon disappear.

    So I'll put a new DefaultAppAssoc.xml and a new Taskbar_StartmenLayout.xml into my Edge 80-Deployment and use it post-install, and it should be fine.

  • ranjithckm7's avatar
    ranjithckm7
    Brass Contributor

    vulflundh  I have exactly an same issue. No matter whatever troubleshoot we do it comes back after log off or restart. No clue how it's getting applied again and again.

    • ChrisK9's avatar
      ChrisK9
      Copper Contributor

      ranjithckm7 Sounds like normal behavior (it should then even come back again after explorer restart) if you imported a taskbar-layout with PowerShell Import-StartLayout command into your image. In the xml you imported you should have an entry like this:

      <taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />

      and need to replace it with this:

      <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" />

      reimport the Start-Layout and you should be fine for new user profiles on this machine.

      For existing profiles you need to edit the LayoutModification.xml under %USERPROFILE%\AppData\Local\Microsoft\Windows\Shell for each and replace the exactly same lines. as mentioned above. My sample PowerShell-Code for that ($profile is the path to C:\Users\username in the current round of the loop)

      [xml]$LayoutMod = Get-Content -Path "$profile\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml"
                          $newItem = $LayoutMod.CreateElement("taskbar:DesktopApp")
                          $newItem.SetAttribute("DesktopApplicationLinkPath", "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk")
                          $oldItem = $LayoutMod.LayoutModificationTemplate.CustomTaskbarLayoutCollection.TaskbarLayout.TaskbarPinList.UWA | ? AppUserModelID -Like '*edge*'
                          $LayoutMod.LayoutModificationTemplate.CustomTaskbarLayoutCollection.TaskbarLayout.TaskbarPinList.ReplaceChild($newItem, $oldItem)
                          $LayoutMod.Save("$profile\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml")

       As far as I have seen, this doesn't happen to the start menu because the whole behavior of Import-StartLayout in start menu is another one and users are able to change their tiles (changes overlast explorer-restarts), so the default Icon-changes the edge setup brings with it, are enough for start menu if you used Import-Startlayout.

      • ranjithckm7's avatar
        ranjithckm7
        Brass Contributor

        ChrisK9. Sorry it took some time to come back. You're right. I got 2 doubts,

        1. I have found many instances of below in defaultlayout.xml

        <taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />

        Do i need to replace all the above instances with below.

        <taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" />

         

        2. I'm attaching my LayoutModification.xml to advise more and I don't know either edge or ie which one brings old edge icon here.

         

         

Resources