Do you keep seeing a message labeled “File system error (-2147219196)” while opening images with the Photos app in Windows 10? Despite sounding like a disk error, it’s an issue that mainly stems from file corruption or broken permissions.

Work your way through the fixes that follow to fix “File system error (-2147219196)” in Windows 10 and start using Photos as usual again.

FIX: File System Error ( - 1

Run the Windows Store Apps Troubleshooter

Windows 10 includes a built-in troubleshooter that automatically deals with errors related to apps belonging to the Microsoft Store (such as Photos). We strongly recommend running it before diving into the rest of the fixes.

  1. Open the Start menu and select Settings .

  2. Select the option labeled Update & Recovery .

FIX: File System Error ( - 2
  1. Select Troubleshoot on the sidebar.

  2. Select Additional troubleshooters .

FIX: File System Error ( - 3
  1. Select Windows Store Apps > Run the troubleshooter .
FIX: File System Error ( - 4

Repair the Microsoft Photos App

If the Microsoft Store troubleshooter fails to fix “File system error (-2147219196)” in Windows 10, the next course of action involves repairing the Photos app.

  1. Open the Settings app and select Apps .

  2. Scroll down the list of apps and select Microsoft Photos > Advanced options .

FIX: File System Error ( - 5
  1. Select Terminate to shut down all live processes related to the Photos app. Then, select Repair .
FIX: File System Error ( - 6

Reset the Microsoft Photos App

If repairing Photos also didn’t make a difference, try resetting the app to its defaults. To do that, simply follow the instructions in the section above but select Terminate > Reset instead.

FIX: File System Error ( - 7

Install Microsoft Store Updates

Assuming that the fixes above didn’t make the “File system error (-2147219196)” pop-up go away, it’s best to check for and install any updates related to Photos and other Store-related apps.

  1. Open the Microsoft Store.

  2. Select the Library icon at the lower left of the window. On older versions of the Microsoft Store, open the Store menu (icon with three dots) and select Downloads and updates instead.

FIX: File System Error ( - 8 FIX: File System Error ( - 9

Re-Register the Photos App

The following fix involves re-registering the Photos app with Windows 10. The procedure consists in executing a command via an elevated Command Prompt console.

  1. Type cmd into the Start menu and press Ctrl + Shift + Enter to open Command Prompt with administrative rights.

  2. Copy and paste the following command:

PowerShell -ExecutionPolicy Unrestricted -Command “& {$manifest = (Get-AppxPackage Photos).InstallLocation + ‘AppxManifest.xml’ ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}”

FIX: File System Error ( - 10
  1. Press Enter .

Re-register All Microsoft Store Apps

If re-registering the Photos app didn’t help, try re-registering all Microsoft Store apps on your PC via an elevated Windows PowerShell console.

  1. Press Windows + X (or right-click the Start button) and select Windows PowerShell (Admin) .

  2. Copy and paste the following command:

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}

FIX: File System Error ( - 11
  1. Press Enter .

Reinstall the Photos App

If file corruption is the cause of the “File system error (-2147219196),” completely removing and reinstalling the Windows Photos app may fix the issue. However, the procedure requires running a command as the SYSTEM user. For that, you need a tool called PsExec.

  1. Head over to the PsExec page on Windows Sysinternals and select Download PsTools .
FIX: File System Error ( - 12
  1. Right-click the downloaded ZIP file and select Extract files . Then, set the folder path as C:/PSTools and choose Extract .
FIX: File System Error ( - 13
  1. Open an elevated Windows PowerShell console and execute the following command:

Get-AppxPackage photos | Remove-AppxPackage

FIX: File System Error ( - 14
  1. Open an elevated Command Prompt console and execute the following command:

C:PSToolsPsExec.exe -sid C:WindowsSystem32cmd.exe

FIX: File System Error ( - 15
  1. Agree to the SysInternals software license terms. A separate Command Prompt console will automatically launch.
FIX: File System Error ( - 16
  1. Execute the following command:

rd /s “C:Program FilesWindowsAppsMicrosoft.Windows.Photos_2021.21090.10008.0_x64__8wekyb38bbwe

Note: The Photos app’s directory changes with each Windows update. To auto-fill the command with the correct name, press the Tab key right after rd /s “C:Program FilesWindowsAppsMicrosoft.Windows.Photos_ . You may have to cycle through matching entries (repeatedly press Tab ) until you see x64 included as part of the file name.

FIX: File System Error ( - 17
  1. Exit all Command Prompt windows and reinstall Photos via the Microsoft Store.
FIX: File System Error ( - 18

Change Photos App Ownership to TrustedInstaller

If the issue persists, change ownership of the Photos app to TrustedInstaller (a special user account in Windows 10) and see if that helps.

  1. Open an elevated Windows PowerShell console and execute the following command:

takeown /F “%ProgramFiles%WindowsApps” /r /d y

FIX: File System Error ( - 19
  1. Open File Explorer and select View > Hidden items on the menu bar.

  2. Head over to the following location:

Local Disk C > Program Files > WindowsApps

FIX: File System Error ( - 20
  1. Right-click on the folder labeled Microsoft.Windows.Photos_[version number] and select Properties .

Note: If you see multiple similar-looking folders, pick the directory that contains x64 as part of its file name.

FIX: File System Error ( - 21
  1. Switch to the Security tab and select Advanced .
FIX: File System Error ( - 22
  1. Select Change next to Owner.
FIX: File System Error ( - 23
  1. Type NT SERVICETrustedInstaller into the vacant box and select OK.
FIX: File System Error ( - 24
  1. Check the box next to Replace owner on subcontainers and objects .
FIX: File System Error ( - 25
  1. Select Apply , then OK . Follow that by exiting the folder’s Properties window.

  2. Re-register the Windows Photos app (instructions above).

Install Pending Windows 10 Updates

Windows 10 updates can improve the stability of apps and the operating system. If you still keep seeing the “File system error (-2147219196)” message, it’s time to use Windows Update.

  1. Open the Settings app and select Update & Security or Windows Update .

  2. Select Check for Updates .

  3. Select Download and install to apply any pending updates.

FIX: File System Error ( - 26

Uninstall the Most Recent Windows Update

Rarely, Windows 10 updates can end up breaking things. If the issue with the Photos app occurred right after installing an operating system update, you might want to consider uninstalling it.

  1. Open the Settings app and select Update & Security or Windows Update .

  2. Select View update history .

FIX: File System Error ( - 27
  1. Select Uninstall updates .
FIX: File System Error ( - 28
  1. Select the most recent update (skip any security or servicing stack updates).

  2. Select Uninstall .

FIX: File System Error ( - 29

Run an SFC and DISM Scan

If none of the fixes above helped, it’s time to run the System File Checker (SFC) and the Deployment Image Servicing and Management (DISM) tool. That resolves corruption issues with the operating system.

System File Checker (SFC)

Open an elevated Windows PowerShell console and run the following command:

sfc /scannow

FIX: File System Error ( - 30

Deployment Image Servicing and Management (DISM) Tool

After the System File Checker finishes scanning Windows 10 for issues, restart your computer and execute the following command:

DISM.exe /Online /Cleanup-Image /Restorehealth

FIX: File System Error ( - 31

Fully Fix File System Error (-2147219196) in Windows

The fixes above should’ve helped you resolve the “File System Error (-2147219196)” issue with the Photos app in Windows 10. If not, try using an alternative Windows photo viewing app until Microsoft fixes the problem in a subsequent update. If you can’t wait, your remaining options involve performing a system restore and reverting Windows 10 to factory defaults .

  • Preparing for Windows 10 End of Support: Upgrading to Windows 11
  • How to Fix a “This file does not have an app associated with it” Error on Windows
  • How to Fix an Update Error 0x800705b4 on Windows
  • How to Resolve “A JavaScript error occured in the main process” Error on Windows
  • How to Fix the Network Discovery Is Turned Off Error on Windows

Dilum Senevirathne is a freelance tech writer and blogger with three years of experience writing for online technology publications. He specializes in topics related to iOS, iPadOS, macOS, and Google web apps. When he isn’t hammering away at his Magic Keyboard, you can catch him binge-watching productivity hacks on YouTube. Read Dilum’s Full Bio