+ Post New Thread
Page 1 of 3 123 LastLast
Results 1 to 15 of 40
Windows 8 Thread, Windows 8.1 Keeps restoring Metro apps in Technical; Hi, I have setup the Windows start screen using the group policy stuff. Works pretty well for the start screen. ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461

    Windows 8.1 Keeps restoring Metro apps

    Hi,

    I have setup the Windows start screen using the group policy stuff. Works pretty well for the start screen. But all on all apps the metro apps I previously removed keep coming back. I have disabled the Windows store on both user and computer GPO. Does anyone know how I can stop these pesky apps returning please?

    Thanks


    W8 Start.png

  2. #2

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    The apps you're seeing there are baked into the base image, so disabling the store makes no difference as they are already there. You can remove them using DISM.

    First, run Dism /Online /Get-ProvisionedAppxPackages to get a list of the baked in apps.

    Then for each one, run a command like this:

    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingFinance_2013.809.632.367 6_neutral_~_8wekyb3d8bbwe

    Same commands work for offline mounted images too, so you can strip them out of the .wim before deploying it.

  3. Thanks to AngryTechnician from:

    FN-GM (8th March 2014)

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Argh!! Removed them from the image and they come back after sysprep!

  5. #4

    Join Date
    Apr 2013
    Location
    Cornwall
    Posts
    35
    Thank Post
    1
    Thanked 13 Times in 12 Posts
    Rep Power
    6
    I used the power shell script on the web page below just before running sysprep on my reference machine and I haven't had any of the Metro apps appear yet ....

    Removing Windows 8.1 Built-in Applications - The Deployment Guys - Site Home - TechNet Blogs

  6. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    I used this and they re-appear, annoying! Any ideas why please? I also did the same things as a Task Sequence step and it doesn't work. Annoying.

    Code:
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingFinance_2013.809.632.3676_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingFoodAndDrink_2013.820.258.2561_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingHealthAndFitness_2013.813.243.3760_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingNews_2013.809.636.2800_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingSports_2013.809.637.2803_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingTravel_2013.809.639.25_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingWeather_2013.809.641.3233_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.SkypeApp_2013.805.1159.2246_neutral_~_kzf8qxf38zg5c
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsAlarms_2013.822.1841.1043_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsReadingList_2013.822.1837.5741_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxLIVEGames_2013.808.1749.4769_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.ZuneMusic_2013.809.1658.2765_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.ZuneVideo_2013.809.1659.3015_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsScan_2013.822.1832.4879_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsSoundRecorder_2013.822.1835.2133_neutral_~_8wekyb3d8bbwe
    Dism /Online /Remove-ProvisionedAppxPackage /Packagename:microsoft.windowscommunicationsapps_2013.822.1740.2836_neutral_~_8wekyb3d8bbwe
    Last edited by FN-GM; 3rd April 2014 at 07:08 PM.

  7. #6
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    Remove them from the offline install.wim, *then* install the base image from that.

  8. #7

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    How would one do that please?

  9. #8
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    An example, W8 folder has the install.wim file from install iso.
    W8I is just a folder used for mounting the image

    dism.exe /Mount-wim /Wimfile:C:\W8\Install.wim /index:1 /MountDir:C:\W8I
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingFinance_2013.809.632.367 6_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingFoodAndDrink_2013.820.25 8.2561_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingHealthAndFitness_2013.81 3.243.3760_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingMaps_2013.809.2206.5385_ neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingNews_2013.809.636.2800_n eutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingSports_2013.809.637.2803 _neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingTravel_2013.809.639.25_n eutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.BingWeather_2013.809.641.323 3_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.HelpAndTips_2013.822.1812.12 79_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.Reader_2013.822.1823.785_neu tral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.SkypeApp_2013.805.1159.2246_ neutral_~_kzf8qxf38zg5c
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsReadingList_2013.822. 1837.5741_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:microsoft.windowscommunicationsapps_20 13.822.1740.2836_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.XboxLIVEGames_2013.808.1749. 4769_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.ZuneMusic_2013.809.1658.2765 _neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.ZuneVideo_2013.809.1659.3015 _neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsAlarms_2013.822.1841. 1043_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsCalculator_2013.822.1 828.2633_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsScan_2013.822.1832.48 79_neutral_~_8wekyb3d8bbwe
    Dism.exe /Image:c:\W8I /Remove-Provisionedappxpackage /PackageName:Microsoft.WindowsSoundRecorder_2013.82 2.1835.2133_neutral_~_8wekyb3d8bbwe
    Dism.exe /Unmount-Image /MountDir:c:\W8I /Commit

    you can just replace the install.wim on a bootable usb stick with the modified one and install from that (or use with wds/mdt as an install image).

    You can also edit the default file associations on a machine and import that into the offline wim.

  10. Thanks to DMcCoy from:

    FN-GM (3rd April 2014)

  11. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    You can also edit the default file associations on a machine and import that into the offline wim.
    What is the command for that please? That would be great!

  12. #10
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    From a machine that is how you want: DISM.exe /Online /Export-DefaultAppAssociation:C:\W8\Apps.xml
    before unmounting in the above image instructions: Dism.exe /Image:c:\W8I /Import-DefaultAppAssociations:C:\W8\Apps.xml

    .gif is broken in default windows associations for windows photo viewer, you can do it manually for that one type if you want (find a gif, always open with, find windows photo viewer on the list).

  13. Thanks to DMcCoy from:

    FN-GM (3rd April 2014)

  14. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Hi,

    I have mounted to image to C:\W8I fine.

    When I run Dism /Image:c:\W8I /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingFinance_2013.809.632.367 6_neutral_~_8wekyb3d8bbwe I get this error

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 2

    Unable to access the image.
    Make sure that the image path and the Windows directory for the image exist and
    you have Read permissions on the folder.

    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    In the log I get this

    2014-04-04 11:06:25, Error DISM DISM.EXE: Failed to access the image folder or image's windows folder.
    Everyone has permission to edit the folder and this is being run through an elevated command prompt. Any ideas please?

  15. #12
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    Is the image the install.wim from the Windows iso? editing a captured image may have a different number of partitions, so the mount index may be different. This is for editing the original install media, so that you can install a fresh image to capture with the apps removed already.

  16. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    its a .wim I see, do I need to /index:2 ?

  17. #14


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,390
    Thank Post
    241
    Thanked 2,817 Times in 2,078 Posts
    Rep Power
    813
    The PowerShell script below will automatically remove all of the built-in apps for every image within a WIM file. It uses the native Windows 8 cmdlets like Get-WindowsImage instead of DISM since finding out how many images are contained within each WIM is much easier.

    After Windows 8.1/8.1 Update has been installed, your Start Screen will look like this...



    Code:
    #Requires –Version 4
    #Requires -RunAsAdministrator
    $ErrorActionPreference = 'Stop'
    
    $Image       = "$PSScriptRoot\install.wim"
    $MountFolder = "$PSScriptRoot\Mount"
    
    # Delete mount folder (if it already exists)
    try 
    {
        if (Test-Path -path $MountFolder) { Remove-Item -Path $MountFolder -Recurse -ErrorAction Stop }
    }
    catch
    {
        Write-Warning "$($_.Exception.Message)"
        Get-WindowsImage -Mounted | Dismount-WindowsImage -Discard -LogLevel 2 | Out-Null
        Break
    }
    
    # Create new mount folder
    if (!(Test-Path -path $MountFolder)) { 
        New-Item $MountFolder -Type Directory -Force | Out-Null 
    }
    
    # Remove built-in apps
    Get-WindowsImage -ImagePath $Image | Select-Object -ExpandProperty ImageIndex | ForEach {
    
        Write-Output "Mounting image (Index: $_)`n"
        Mount-WindowsImage -ImagePath $Image -Path $MountFolder -Index $_ | Out-Null
    
        Write-Output "Removing built-in apps (Index: $_)`n"
        Get-AppxProvisionedPackage -Path $MountFolder | Remove-AppxProvisionedPackage | Out-Null
    
        Write-Output "Unmounting image and saving changes (Index: $_)`n"
        Get-WindowsImage -Mounted | Dismount-WindowsImage -Save -LogLevel 2 | Out-Null
    }
    Save the script into a folder along with your install.wim file and then run it from an elevated PowerShell ISE or prompt.

  18. #15

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,227
    Thank Post
    894
    Thanked 1,776 Times in 1,532 Posts
    Blog Entries
    12
    Rep Power
    461
    Thanks Arthur, I will try the other way first so I know what I am removing.

    Got an issue with the other way, now I have mounted partition 2 I get this error running the remove command

    Dism /Image:C:\W8MI /Remove-ProvisionedAppxPackage /Packagen
    ame:Microsoft.BingFinance_2013.809.632.3676_neutra l_~_8wekyb3d8bbwe

    Deployment Image Servicing and Management tool
    Version: 6.3.9600.16384

    Image Version: 6.3.9600.16384


    Error: 2

    The system cannot find the file specified.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    My log is attached. Struggling to pin this one down Any help will be appreciated.

    Thanks
    Attached Files Attached Files

SHARE:
+ Post New Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Removing Metro Apps from a Windows 8 Image
    By AndiMarv in forum Windows 8
    Replies: 1
    Last Post: 5th October 2013, 01:14 AM
  2. Windows 8 disappearing IE 10 metro app
    By RobertC in forum Windows 8
    Replies: 0
    Last Post: 28th June 2013, 11:35 AM
  3. Replies: 3
    Last Post: 16th May 2013, 11:20 PM
  4. Windows 8 Metro apps behaviour
    By Dos_Box in forum Windows 8
    Replies: 5
    Last Post: 19th September 2011, 09:17 AM
  5. IE8 Keeps Restoring tabs after windows update
    By danny0001uk in forum Windows
    Replies: 1
    Last Post: 20th August 2010, 10:15 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •