How to Fix File System Errors in Windows 10 & 11


A file system error can occur in Windows 10 and 11 when you try to open files or Microsoft Store apps. When such an error occurs, a message pops up that says, “File system error (code).” File system errors have variable error codes like -2147219195, -2147219196, -2147163893, and -1073741521.

The causes of such errors vary, but the result is much the same. Users can’t open the files or apps for which file system errors arise. These general resolutions can fix a wide variety of file system errors in Windows 10 and 11.

File system errors can often be related to system file corruption. Windows 11 and 10 have the same SFC and DISM command-line tools for repairing system files and Windows system image. Running those utilities in the Command Prompt could feasibly resolve numerous file system errors.

Our guide on how to run the System File Checker tool tells you how to initiate an SFC scan. You can also run a Deployment Image Servicing Management scan in the Command Prompt before or after running the SFC tool. To do so, you’ll need to execute the following command:

 DISM.exe /Online /Cleanup-image /Restorehealth 

2. Scan Your Hard Drive

Hard drive integrity issues such as bad sectors also cause file system errors to occur in Windows 11/10. For that reason, scanning your hard drive with the Check Disk tool is a recommended troubleshooting method for file system errors. The Check Disk utility (otherwise CHKDSK) scans for and repairs bad drive sectors detected. This is how you can run CHKDSK in the Command Prompt:

  1. Open the file and app search box by pressing the Win + S key combination.
  2. Select Command Prompt’s Run as administrator option within the search results to launch the app with elevated privileges.
  3. Then type this command in the Prompt’s window and press Enter:
     chkdsk c: /f /r 
  4. You’ll need to press Y to schedule the scan for a restart.
    The chkdsk command

  5. Exit the Command Prompt window.
  6. Click Start > Power to select Restart. The CHKDSK scan will start after the restart.

3. Run the Windows Store App Troubleshooter

If a file system error occurs when you try launching MS Store apps or opening files with them, the Windows Store App troubleshooter might be useful for fixing it. That troubleshooter is there to resolve issues that stop UWP apps from working as they should. These are the steps for opening the Windows Store App troubleshooter:

  1. To access Settings, press the Windows logo key + E keyboard shortcut that opens that app.
  2. Scroll down the tab and click a Troubleshoot navigation option.
  3. Select Other trouble-shooters to bring up a list of tools for troubleshooting Windows.
  4. Then press the Run button for launching the Windows Store App troubleshooter.
    The troubleshooter list in Settings

  5. Apply any suggestions the troubleshooter provides.
    The Windows Store Apps troubleshooter

4. Check That the Windows License Manager Service Is Running

Some file system errors can arise for opening files with UWP apps when the Windows License Manager service is disabled. That’s a service required for MS Store infrastructure support, and apps downloaded from the store don’t always work right when it’s disabled. This is how you can check that service is enabled and start it if necessary:

  1. Bring up the Windows search tool and input Services inside its text box.
  2. Select Services within the search results.
  3. Double-click Windows License Manager Service to access its properties window.
    The Services window

  4. Click on the Startup type menu to open it and select Automatic.
    The Windows License Manager server window

  5. If the service isn’t running, press Start within the properties window.
  6. Select Apply to save settings for the Windows License Manager Service.
  7. Click OK to close the Windows License Manager Service Properties window.

5. Reinstall Any Affected App

This potential solution is more applicable to fixing file system errors that occur for opening specific UWP apps. Reinstalling the app for which the error arises might resolve it in such a scenario. For example, users confirmed reinstalling Microsoft Photos can resolve file system error -2147219196.

You can remove UWP apps with some of the methods in our guide for uninstalling software in Windows 11. You can uninstall most apps with the Apps & Features tool in Settings. However, you might need to use the PowerShell method in our guide to remove some pre-installed Windows 11 apps.

Apps & features in Settings

When you’ve uninstalled the app, reinstall it from the MS Store. Bring up the Microsoft Store, and input the app’s title in its search box. Then select the app to reinstall in the search results, and click the Get button for it.

6. Set Up a New Local User Account on Windows

File system errors can arise because of user account issues. Such errors might not arise if you set up and utilize a new local user account in Windows 11. That might not be the most ideal resolution, but you can migrate user files to a newly established account.

Our guide on how to fix Windows issues by creating new accounts includes full instructions for how to apply this solution.

The Add account button

7. Restore Windows to an Earlier Date

System Restore is a troubleshooting tool that can potentially address various causes for file system errors, be it system file corruption, app conflicts, or recent Windows updates. It fixes many things by restoring Windows to an earlier date (system snapshot). However, restoring Windows to an earlier time will only likely work if you can select a restore point that predates the file system error on your PC.

To apply this potential solution, read through our guide to utilizing System Restore and creating restore points. Select a restoration date that will take your PC back to a time when there wasn’t a system file error on it. The oldest restore point available is the most likely one to do that.

The System Restore tool

However, restoring Windows to a previous time removes software not installed on the restoration point’s date. So, it’s likely you’ll have to reinstall some apps after rolling back Windows. Clicking Scan for affected programs in System Restore provides an overview of software that will be removed for a restore point.

8. Reset Windows

This final system file error solution is the most drastic of all since it amounts to reinstalling Windows 10 or 11. Factory resetting restores Windows to a default system state, which can fix many errors caused by registry, third-party software, and system file issues. If you can’t fix a system file error with any other potential fix in this guide, then resetting is the last thing to try.

Windows 11 and 10 have a Reset this PC tool that makes it easy to factory reset the platform. That tool also includes an option that enables you to keep user files in the process. Our guide on how to factory reset Windows includes instructions for applying this potential resolution with this tool.

Get File System Errors Sorted in Windows

Users often report file system errors on support forums much the same as BSOD (Blue Screen of Death) and missing DLL file issues. You can’t ignore them when they stop you from opening important user files or apps. Whatever file system error you need to fix in Windows 10 and 11, you’ll probably be able to resolve it with at least one of the potential resolutions above.


Source link

Leave a Reply

%d bloggers like this: