How to Fix File System Error 2147219196 When Opening Windows Apps

While attempting to open images using the Windows Photo App, you might encounter the File system error (-2147219196). This error may also appear when launching other Windows apps such as Calculator, etc. File system error (-2147219196) can prevent the use of certain apps, most commonly the photo app, or a group of apps.

Error 2147219196 is known to result from a glitch in a Windows Update. A recent update introduced this bug into the Windows Photo App, affecting many users. While there’s no permanent fix available apart from another Windows update, there are several workarounds that you can try. Options include using the Windows Photo Viewer or opting for a third-party photo viewer. The solutions are outlined below. Start with Method 1 and proceed to the subsequent methods until your issue is resolved.

Tip

The Windows Photo Viewer is a classic photo viewer still available in Windows 10 and is often the best choice. It is easy to use, quick, and the safest solution. With other solutions, you might need to follow technical steps or use a third-party application, which could compromise safety. Plus, you won’t need to download anything else.

To use Windows Photo Viewer, simply right-click on a picture, select Open with, then choose Windows Photo Viewer.

Note: You can also download and use other photo viewers from the internet.

Method 1: Uninstall and Reinstall the Windows Photo App

Uninstalling and then reinstalling the Windows Photo App has helped a considerable number of users resolve their issues.

  1. First, let’s uninstall the Windows Photos App. Press the Windows key.
  2. Type PowerShell in the Windows Start search.
  3. Right-click on Windows PowerShell in the search results and select Run as administrator.

  1. Enter Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage and press Enter.



  1. Click here and download the PsTools package. Just click the Download PsTools link on the webpage.

  1. Right-click the downloaded zip file and select Extract files… Choose an appropriate location and extract the files.
  2. Press the Windows key.
  3. Type command prompt in the Windows Start search.
  4. Right-click on Command Prompt in the search results and choose Run as administrator.

  1. Type <PsExec location address>PsExec.exe -sid c:\windows\system32\cmd.exe and press Enter. Note: Substitute <PsExec location address> with the actual path where you extracted the PsTools. For instance, if you extracted to E:\PsTools, the input would be E:\PsTools\PsExec.exe -sid c:\windows\system32\cmd.exe

  1. Click Agree when prompted.

  1. A new command prompt will open after you press enter.

  1. Type rd /s ‘C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2017.37071.16410.0_x64__8wekyb3d8bbwe’ and press Enter in the new Command Prompt. Note: The version number of the Windows Photos App may differ, and thus the folder name too. Here’s how to get the exact folder name:
  1. Press Windows key + R.
  2. Type the folder path in the Run dialog and let it auto-complete to the correct version.
  3. Once auto-completed, copy the path from the Run dialog and paste it into the Command Prompt.
  4. Note: You can also see the folder name in step 4 above and use that for guidance.
  1. Press Y when the system requests confirmation.

After completing these steps, you should be all set. Download the Photos App from the Microsoft Store and see if the issue has been resolved.

Method 2: Boot in Clean Boot

At times, third-party applications can interfere with the functionality of the Photo Viewer app, preventing it from working as intended. To address this, we will initiate a Clean Boot on your PC.

  1. Log in to the computer with an Administrator account.
  2. Press ‘Windows + R’ to open the ‘RUN’ prompt.
    Opening the Run Prompt
  3. Type ‘msconfig’ and press ‘Enter’.
    Running MSCONFIG
  4. Click on the ‘Services’ tab and uncheck the ‘Hide all Microsoft Services’ checkbox.
    Clicking on the ‘Services’ tab and unchecking the ‘Hide all Microsoft Services’ option
  5. Select ‘Disable All’ and then click ‘OK’.
    Selecting the ‘Disable All’ option
  6. Click on the ‘Startup’ tab and select ‘Open Task Manager’.
    Opening Task Manager from the ‘Startup’ tab
  7. In Task Manager, click on the ‘Startup’ tab.
  8. For each application with ‘Enabled’ status, select it and choose the ‘Disable’ option.
    Disabling startup applications
  9. Repeat this for all listed applications and restart your computer.
  10. With your computer now in a ‘Clean Boot’ state, open the Windows Photo Viewer app and check for the issue.
  11. If the issue is resolved, re-enable each service one by one to identify the culprit, then keep that particular service disabled.

Method 3: Run the Troubleshooter

The Windows Troubleshooter can automatically identify and resolve issues with default Windows applications. Hence, for problems with the Windows Photo Viewer application, we will run the troubleshooter:

  1. Press Windows + I simultaneously.
  2. Select Update & Security.
    Accessing ‘Updates & Security’
  3. Choose Troubleshoot from the left pane.
    Selecting ‘Troubleshoot’ from the menu
  4. Scroll down and select Windows Store Apps.
  5. Click Run the troubleshooter.
    Running the Windows Store Apps troubleshooter
  6. The troubleshooter will try to identify and solve the issue automatically.

Method 4: Fix the Permissions of the Photo App Folder

If none of the aforementioned solutions worked, it could be due to incorrect permissions for the Photos app folder, which would need manual correction.

  1. Click on the search button, search for ‘Command Prompt’, and run it as administrator.
  2. Enter the following command to take ownership of the ‘WindowsApps’ folder.
    TAKEOWN /F 'C:\Program Files\WindowsApps' /R /D Y
  3. After gaining ownership, open the ‘WindowsApps’ folder located at ‘C:\Program Files\WindowsApps’.
  4. If you cannot locate the folder, ensure that the ‘show hidden files’ option is checked.
    Showing Hidden Files
  5. If prompted with ‘Permission Required’, click ‘Continue’.
    Granting permission to continue
  6. Right-click and select properties on the Photos app folder, which will be named something like ‘Microsoft.Windows.Photos_2017.37071.16410.0_x64__8wekyb3d8bbwe’.
  7. Go to the ‘Security’ tab and select ‘Advanced’.
    Changing permissions for the folder
  8. In the Advanced permissions section, click ‘Change’ next to ‘Owner’.
  9. Enter ‘NT SERVICE\TrustedInstaller’ into the text box and press ‘OK’.
    Assigning ownership to TrustedInstaller
  10. Ensure ‘Replace Owner on subcontainers and objects’ is checked.
  11. Click ‘Apply’, then ‘OK’.
    Finalizing permission changes
  12. Click OK to confirm the changes.
  13. Search for PowerShell, run it as an administrator and execute the command below:
    get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage
  14. Restart Windows after the command is finished.
  15. Launch PowerShell as an administrator again and enter the following command to reinstall the Windows Photos app:
    Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register '$($_.InstallLocation)\AppXManifest.xml'}
  16. Upon completion, check if the issue remains.

Method 5: Windows Update

Given this is a widespread issue, it’s likely a fix will be included in future Windows Updates. If previous methods didn’t resolve your problem, stay updated with the latest releases:

  1. Press ‘Windows + I’ at the same time.
  2. Click on ‘Update & Security’.
  3. Select ‘Check for Updates’ and wait as Windows checks for new updates.
  4. Any updates found will be downloaded and installed automatically.
  5. Restart your computer to apply the updates.
ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.