locked
Upgrade from Windows 8 to 8.1 without the Modern UI apps installing RRS feed

  • Question

  • Hello all,

    We have some workstations running Windows 8 that we would like to get upgraded to 8.1. We originally deployed Windows 8 using a customized image with all the Modern UI apps removed, e.g. Mail, Calendar, People, Maps, News, Food & Drink, Health & Fitness, Reading List, etc. I've run the upgrade on a test machine using "Setup.exe /auto:upgrade" as documented at https://technet.microsoft.com/en-ca/library/dn744271.aspx and it works; however, all the Modern UI apps are re-installed. 

    Is there a way to perform this upgrade without all the apps installing, or, at the very least, not have the icons appear on the user's Start menu?

    Monday, November 16, 2015 6:05 PM

Answers

  • Okay, I feel dumb. Before I had already posted my question, I had already tried listing the .appx packages in the install.wim using dism /get-package, with the intention of removing them, but there weren't any listed. Of course, the correct command for listing the .appx packages is actually dism /get-provisionedappxpackages.

    So, with no further ado, here's a script to mount the .wim from the installation media, remove all the Modern UI apps, and as an added bonus, set the product key. (If your installation of Windows 8 was activated with a MAK key, it needs to be re-activated with a Windows 8.1 MAK key.)

    Replace "D:\Operating System Installers\Windows 8.1 Update 1 x64 ISO\sources\install.wim" with the path to the install.wim in your installation media, replace D:\mount with the path to an empty folder somewhere, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your own product key. I have confirmed that after performing these operations, the Modern UI apps are not installed when running setup.exe /auto:upgrade.

    Dism /Mount-Image /ImageFile:"D:\Operating System Installers\Windows 8.1 Update 1 x64 ISO\sources\install.wim" /index:1 /MountDir:D:\mount
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingFinance_2014.221.1803.4346_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingFoodAndDrink_2014.215.1100.269_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingHealthAndFitness_2014.221.713.446_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingMaps_2014.130.2132.1189_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingNews_2014.221.715.1548_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingSports_2014.221.716.2273_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingTravel_2014.221.717.3307_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingWeather_2014.221.719.1451_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.HelpAndTips_2014.307.208.1286_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.Office.OneNote_2014.215.704.4136_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.Reader_2013.1007.1759.4672_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.SkypeApp_2014.206.1828.308_neutral_~_kzf8qxf38zg5c
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsAlarms_2013.1204.852.3011_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsCalculator_2013.1007.1950.2960_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:microsoft.windowscommunicationsapps_2014.219.1943.3721_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsReadingList_2013.1218.27.757_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsScan_2013.1007.2015.3834_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsSoundRecorder_2013.1010.500.2928_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.XboxLIVEGames_2013.1011.10.5965_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.ZuneMusic_2014.228.1317.652_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.ZuneVideo_2014.228.1317.2549_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /set-productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    Dism /Unmount-Image /MountDir:D:\mount /commit

    • Marked as answer by Ryan G. Steele Wednesday, November 18, 2015 7:28 PM
    Wednesday, November 18, 2015 7:27 PM

All replies

  • Hi,

    Have you checked if these apps have been installed before upgrade install? Upgrade install will save the previous program and app and it is different with clean install.

    I suggest you find another test machine. Download the clean ISO image from the official website below and perform upgrade installation in the new test machine again.

    https://www.microsoft.com/en-us/software-download/windows8

    After that, please check if the app exists. 

    If the app still installed, maybe the app is exists in the PC before you upgrade.

    If the app is not exists, it is obviously that the problem with the ISO image which you customized. Maybe you haven't removed the app completely from the image.

    Wish you have a nice day.

    Best Regards

    Simon


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.


    Tuesday, November 17, 2015 3:06 AM
  • setup /auto:upgrade, will perform a default/standard no-interaction upgrade, which will by default, install all the in-box provisioned apps.
    You may need to consider an alternate (customised) wim, or, use an unattend file,
    https://technet.microsoft.com/en-au/library/hh824834.aspx

    [I haven't tried this myself, we use the wipe-and-load approach in my organisation]


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    Tuesday, November 17, 2015 9:47 AM
  • Okay, I feel dumb. Before I had already posted my question, I had already tried listing the .appx packages in the install.wim using dism /get-package, with the intention of removing them, but there weren't any listed. Of course, the correct command for listing the .appx packages is actually dism /get-provisionedappxpackages.

    So, with no further ado, here's a script to mount the .wim from the installation media, remove all the Modern UI apps, and as an added bonus, set the product key. (If your installation of Windows 8 was activated with a MAK key, it needs to be re-activated with a Windows 8.1 MAK key.)

    Replace "D:\Operating System Installers\Windows 8.1 Update 1 x64 ISO\sources\install.wim" with the path to the install.wim in your installation media, replace D:\mount with the path to an empty folder somewhere, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your own product key. I have confirmed that after performing these operations, the Modern UI apps are not installed when running setup.exe /auto:upgrade.

    Dism /Mount-Image /ImageFile:"D:\Operating System Installers\Windows 8.1 Update 1 x64 ISO\sources\install.wim" /index:1 /MountDir:D:\mount
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingFinance_2014.221.1803.4346_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingFoodAndDrink_2014.215.1100.269_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingHealthAndFitness_2014.221.713.446_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingMaps_2014.130.2132.1189_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingNews_2014.221.715.1548_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingSports_2014.221.716.2273_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingTravel_2014.221.717.3307_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.BingWeather_2014.221.719.1451_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.HelpAndTips_2014.307.208.1286_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.Office.OneNote_2014.215.704.4136_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.Reader_2013.1007.1759.4672_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.SkypeApp_2014.206.1828.308_neutral_~_kzf8qxf38zg5c
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsAlarms_2013.1204.852.3011_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsCalculator_2013.1007.1950.2960_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:microsoft.windowscommunicationsapps_2014.219.1943.3721_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsReadingList_2013.1218.27.757_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsScan_2013.1007.2015.3834_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.WindowsSoundRecorder_2013.1010.500.2928_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.XboxLIVEGames_2013.1011.10.5965_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.ZuneMusic_2014.228.1317.652_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /remove-provisionedappxpackage /packagename:Microsoft.ZuneVideo_2014.228.1317.2549_neutral_~_8wekyb3d8bbwe
    dism /image:d:\mount /set-productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    Dism /Unmount-Image /MountDir:D:\mount /commit

    • Marked as answer by Ryan G. Steele Wednesday, November 18, 2015 7:28 PM
    Wednesday, November 18, 2015 7:27 PM