File System Error (-2147219196) in Windows

Do you keep seeing a message labeled “File System Error (-2147219196)” while opening images using the Photos app in Windows 10? Despite sounding like a disk error, it is a problem that mainly stems from file corruption or broken permissions.

Work your way through the fixes that follow to resolve “File System Error (-2147219196)” in Windows 10 and get photos back to normal.

Run the Windows Store Apps Troubleshooter

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

1. Open the Get started menu and select Settings

2. Select the option labeled Update & Restore

3. Select Resolving problems on the sidebar.

4. Select Additional troubleshooters

5. Select Windows Store appsRun the troubleshooter

Fix the Microsoft Photos app

If the Microsoft Store troubleshooter fails to fix the “File System Error (-2147219196)” in Windows 10, the next step is to fix the Photos app.

1. Open the Settings app and select apps

2. Scroll through the list of apps and select Microsoft PhotosAdvanced options

3. Select To end to exit all live processes related to Photos app. Then select Repair

Reset the Microsoft Photos app

If repairing Photos didn’t make a difference either, try restoring the app to its default settings. To do that, just follow the instructions in the section above, but select To end Reset instead of.

Install Microsoft Store updates

Assuming the above fixes didn’t get rid of the “File System Error (-2147219196)” popup, it’s best to check for and install updates related to Photos and other Store-related apps.

1. Open the Microsoft Store.

2. Select the Library icon bottom left of the window. In older versions of the Microsoft Store, open the Store menu (three-dot icon) and select Downloads and updates instead of.

3. Select Get updates to update all Microsoft Store apps in Windows 10.

Re-register the Photos app

The next solution involves re-registering the Photos app with Windows 10. The procedure consists of executing a command through an elevated Command Prompt console.

1. Type cmd in the Get started menu and press Ctrl Shift Enter to open Command Prompt with administrator privileges.

2. Copy and paste the following command:

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

3. 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 through an elevated Windows PowerShell console.

1. Press WindowsX (or right click on the Get started button) and select Windows PowerShell (administrator)

2. Copy and paste the following command:

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

3. Press Enter

Reinstall the Photos app

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

1. Go to the PsExec page on Windows Sysinternals and select Download PsTools

2. Right click on the downloaded ZIP file and select Extract files† Then set the folder path as C:/PSTools and choose Extract

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

Get-AppxPackage *photos* | Remove AppxPackage

4. Open an elevated Command Prompt console and run the following command:

C:\PSTools\PsExec.exe -sid C:\Windows\System32\cmd.exe

5. Agree to the SysInternals software license terms. A separate Command Prompt console starts automatically.

6. Run the following command:

rd /s “C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2021.21090.10008.0_x64__8wekyb38bbwe

Remark: The Photos app folder changes with every Windows update. To automatically complete the job with the correct name, press the tab test immediately afterwards rd /s “C:\Program Files\WindowsApps\Microsoft.Windows.Photos_† You may need to scroll through matching items (press repeatedly tab) until you see x64 included as part of the file name.

7. Close all Command Prompt windows and reinstall Photos from the Microsoft Store.

Change ownership of Photos app in TrustedInstaller

If the problem 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 run the following command:

takeown /F “%ProgramFiles%\WindowsApps” /r /dy

2. Open File Explorer and select VisionHidden Items on the menu bar.

3. Go to the following location:

Local Disk C Program files WindowsApps

4. Right click on the folder labeled Microsoft.Windows.Photos_[version number] and select Properties

Remark: If you see several similar folders, choose the folder containing: x64 as part of the file name.

5. Switch to the Safety tab and select Advanced

6. Select Change next Owner.

7. Type NT SERVICE\TrustedInstaller in the empty box and select OKAY.

8. Check the box next to Replace owner on subcontainers and objects

9. Select Applythen Okay† Follow that by exiting the folder’s Properties window.

10. 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 see 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.

Uninstall the latest Windows Update

In rare cases, Windows 10 updates can break things. If the Photos app problem started right after installing an operating system update, consider uninstalling it.

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

2. Select View update history

3. Select Uninstall updates

4. Select the most recent update (skip any security or servicing stack updates).

5. Select remove

Run an SFC and DISM scan

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

System File Checker (SFC)

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

sfc /scannow

Deployment Image Servicing and Management (DISM) Tool

After the System File Checker has finished scanning Windows 10 for problems, restart your computer and run the following command:

DISM.exe /Online /Cleanup-Image /Restorehealth

Full Fix File System Error (-2147219196) in Windows

The above solutions should have helped you to fix “File System Error (-2147219196)” problem with Photos app in Windows 10. If not, try an alternative Windows photo viewing app until Microsoft fixes the issue in a next update. If you can’t wait, your remaining options are: perform a system restore and Factory reset Windows 10

Leave a Reply

Your email address will not be published.