Photos App missing under certain user accounts


  1. Posts : 2
    Windows 10 Enterprise 1709
       #1

    Photos App missing under certain user accounts


    My computer is joined to a on-prem domain running Windows 10 Enterprise x64, build 1709.
    My user profile is roaming with Folder Redirection enabled (by Group Policy).

    I had to recreate my roaming profile and ever since then have been having issues. First, the built-in Calculator app had disappeared. I managed to get it back by running the following PowerShell:

    Code:
    Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    2 weeks later I noticed my default photo viewer had been reset. I tried to change the file type association of .PNG files, for example, to Photos but couldn't find it. If I switch user and log in as the local admin, I see the Photos app.

    I've tried various PowerShell commands in an attempt to get the Photos app back but am failing. Here are the commands I've tried:

    Code:
    Get-AppxPackage -allusers *photo* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Code:
    Get-AppxPackage *photo* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Does anyone know how I can get it back? I'm also wondering what else I've lost. I still need to find why this occurs when I delete my cached roaming profile.
      My Computer


  2. Posts : 2
    Windows 10 Enterprise 1709
    Thread Starter
       #2

    I found the fix. In addition to deleting the cached user profile, there is a registry key you need to delete under:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore

    We did not have to do this on Windows 7 so it means we will need to remember to perform an additional step on Windows 10. I hope this helps somebody else. Here are the steps:

    1. Log the user off
    2. Log in as the local administrator
    3. Open Registry and navigate through to

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

    4. Take note of the user SID (e.g. "S-1-5-21-3240762094-2299924057-4138702961-2710")
    5. Delete the user's cached Windows profile
    6. Delete the key matching the user SID in 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore', e.g.

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\S-1-5-21-3240762094-2299924057-4138702961-2710
    7. Log the user back in again to re-download their cached profile
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:02.
Find Us




Windows 10 Forums