mehball Posted February 13, 2018 Posted February 13, 2018 Very strange. So I have a 1709 education build. As part of the SCCM task sequence we remove the following apps with this powershell script: $packages = @( "Microsoft.XboxApp""Microsoft.XboxGameOverlay""Microsoft.XboxIdentityProvider""Microsoft.XboxSpeechToTextOverlay""Microsoft.MicrosoftOfficeHub""Microsoft.Office.OneNote""Microsoft.OneConnect""Microsoft.WindowsMaps""Microsoft.ZuneVideo""Microsoft.SkypeApp""Microsoft.ZuneMusic""Microsoft.BingWeather""Microsoft.MicrosoftSolitaireCollection""Microsoft.WindowsAlarms""Microsoft.Messaging" )ForEach ($packages in $packages) { Get-AppxPackage -Name $packages -AllUsers | Remove-AppxPackageGet-AppXProvisionedPackage -Online | where DisplayName -EQ $packages | Remove-AppxProvisionedPackage -Online } All has been working fine however I've now noticed that store and photos has disappeared from some PC's. Strangely other store apps like calculator work fine. Store access is blocked from running with group policy but still would like to know why.
DJ-1701 Posted February 13, 2018 Posted February 13, 2018 Very odd... not sure why, but if you want to restore Photos you should be able to reinstall it with this powershell command. Get-AppXPackage -AllUsers -Name Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}
karlr Posted February 13, 2018 Posted February 13, 2018 I had the exact same problem. The issue is that the removal of one or more certain apps also results in a certain version of .NET being removed (Microsoft.NET.Native.Runtime.1.4) which Photos and Store depend on. The problem apps seem to include the Zune and Xbox ones. To resolve this on an existing system I believe you would need to find a source for that version of the framework (trying to install either it or Photos using Powershell is likely to fail). I am currently removing the following apps without issue: Microsoft.BingWeather Microsoft.DesktopAppInstaller Microsoft.GetHelp Microsoft.Getstarted Microsoft.Messaging Microsoft.Microsoft3DViewer Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftStickyNotes Microsoft.Office.OneNote Microsoft.OneConnect Microsoft.People Microsoft.Print3D Microsoft.SkypeApp Microsoft.StorePurchaseApp Microsoft.Wallet Microsoft.WindowsAlarms Microsoft.WindowsCamera microsoft.windowscommunicationsapps Microsoft.WindowsFeedbackHub Microsoft.WindowsMaps Microsoft.WindowsSoundRecorder
mehball Posted February 13, 2018 Author Posted February 13, 2018 I had the exact same problem. The issue is that the removal of one or more certain apps also results in a certain version of .NET being removed (Microsoft.NET.Native.Runtime.1.4) which Photos and Store depend on. The problem apps seem to include the Zune and Xbox ones. To resolve this on an existing system I believe you would need to find a source for that version of the framework (trying to install either it or Photos using Powershell is likely to fail). I am currently removing the following apps without issue: Microsoft.BingWeather Microsoft.DesktopAppInstaller Microsoft.GetHelp Microsoft.Getstarted Microsoft.Messaging Microsoft.Microsoft3DViewer Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftStickyNotes Microsoft.Office.OneNote Microsoft.OneConnect Microsoft.People Microsoft.Print3D Microsoft.SkypeApp Microsoft.StorePurchaseApp Microsoft.Wallet Microsoft.WindowsAlarms Microsoft.WindowsCamera microsoft.windowscommunicationsapps Microsoft.WindowsFeedbackHub Microsoft.WindowsMaps Microsoft.WindowsSoundRecorder What's strange though is that some PC's are fine and still have store and photos? Is not having Microsoft.NET.Native.Runtime.1.4 likely to be a problem in the future as I can love without store and photos as we now push our Windows Photo Viewer as the default photo application.
karlr Posted February 13, 2018 Posted February 13, 2018 Do the store and photo apps actually run on the machines that still have the icons? In my experience I could still click on Photos and Store, but they just didn't do anything. There's also another nasty bug in 1709 that will cause you to be missing all modern apps if you delete a local profile and then log back in. I would argue that missing a core version of .NET (at least one for use by modern apps) doesn't bode well for a stable system.
mehball Posted February 13, 2018 Author Posted February 13, 2018 Running Get-AppxPackage -AllUsers | Select Name, PackageFullName Still shows .Net Native Runtime 1.3 1.4 1.6 and 1.7 installed so can't be the same problem as described above? Must be another strange issue why they have disappeared.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now