Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Making the IE shortcut survive an in-place upgrade in Windows 10

Posted on May 6, 2016August 24, 2017 by Jörgen Nilsson

I wrote a post on how to add an Internet Explorer shortcut to the Start Menu in Windows 10 which turned out not to be the easiest thing to do. The post can be found here: https://ccmexec.com/2015/09/customizing-the-windows-10-start-menu-and-add-ie-shortcut-during-osd/

When I started to upgrade Windows 10 1507 – 1511 I realized that the “Internet Explorer.lnk” file is actually removed during the upgrade. It is actually removed wherever you put it, Program Files, Windows, Programdata and so on. It is a feature of in-place upgrade that has been around since Windows Vista!. Has it been an issue before? “NO!” but it will be now!

So we need to solve this, when doing modifications to Windows 10 like uninstalling apps and so on we must use a Task Sequence to upgrade from one Windows 10 version to the next otherwise all default apps will be installed and again for instance. So what we do is simply a step that copies the IE icon back after the upgrade is complete and the icon has been removed. The IE Shortcut must be there when the user logs on otherwise it will be removed from the start menu.

In our Windows 10 to Windows 10 upgrade Task Sequence it would look like this.

CopyIEicon1

What I did was add a PowerShell script to the package I used for the Start Menu customization that copies the IE icon as well as imports the start menu layout in the first place.
Basically it is the same script but I don’t import the default start menu, I only copy the IE icon back to the location is was before the Windows 10 1507 – Windows 10 1511 Upgrade. So a very simple solution!

The script only does the copying of the IE shortcut so it is very simple.

Copy-Item -Path $PSScriptRoot'\StartMenufiles\internet explorer.lnk' -Destination $env:SystemDrive'\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories'

Copy-Item -Path $PSScriptRoot'\StartMenufiles\internet explorer.lnk' -Destination $env:SystemDrive'\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories'

That way we still have the Internet Explorer shortcut on the end users Start Menu after the upgrade.

CopyIEicon2
I will cover this and much more on mine and Ronni Pedersen’s session at the Midwest Management Summit (MMS) in just  a couple of weeks! http://mmsmoa.com/ Hope to see you all there!

  • IE Shortcut
  • In-place upgrade
  • OSD
  • Windows 10
  • 1 thought on “Making the IE shortcut survive an in-place upgrade in Windows 10”

    1. ankit says:
      June 24, 2016 at 7:15 pm

      Hello Jörgen,

      In your above example OSD Task SEQ screenshot, Under Branding Windows 10, are you Removing Windows 10 in-box apps during a task sequence using the following powershell scripit from https://blogs.technet.microsoft.com/mniehaus/2015/11/11/removing-windows-10-in-box-apps-during-a-task-sequence/

      Thanks,
      Ankito

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
    All code is provided "AS-IS" with no warranties.

    Tweets by ccmexec

    Recent Posts

    • Windows Servicing, Personal Teams and Success.cmd
    • Windows MDM Security Baseline – Settings Catalog
    • Configuring MS Edge Security Baseline v107 using Settings Catalog
    • Configuring Desktop App Installer using CSP and script?!
    • Customizing Taskbar and Start in Windows 11 22h2 with PowerShell

    ©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT