Mastering File System Recovery in Windows 10 & 11
Mastering File System Recovery 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.
1. Run the SFC and DISM Command Line Tools
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 onhow 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:
- Open the file and app search box by pressing theWin + S key combination.
- Select Command Prompt’sRun as administrator option within the search results to launch the app with elevated privileges.
- Then type this command in the Prompt’s window and pressEnter :
chkdsk c: /f /r
- You’ll need to pressY to schedule the scan for a restart.
- Exit the Command Prompt window.
- ClickStart > Power to selectRestart . 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:
- To access Settings, press theWindows logo key +E keyboard shortcut that opens that app.
- Scroll down the tab and click aTroubleshoot navigation option.
- SelectOther trouble-shooters to bring up a list of tools for troubleshooting Windows.
- Then press theRun button for launching the Windows Store App troubleshooter.
- Apply any suggestions the troubleshooter provides.
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:
- Bring up the Windows search tool and inputServices inside its text box.
- SelectServices within the search results.
- Double-clickWindows License Manager Service to access its properties window.
- Click on theStartup type menu to open it and selectAutomatic .
- If the service isn’t running, pressStart within the properties window.
- SelectApply to save settings for the Windows License Manager Service.
- ClickOK 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.
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 theGet 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 onhow to fix Windows issues by creating new accounts includes full instructions for how to apply this solution.
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 toutilizing 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.
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. ClickingScan 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 onhow 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.
- Title: Mastering File System Recovery in Windows 10 & 11
- Author: David
- Created at : 2024-08-16 00:45:44
- Updated at : 2024-08-17 00:45:44
- Link: https://win11.techidaily.com/mastering-file-system-recovery-in-windows-10-and-11/
- License: This work is licensed under CC BY-NC-SA 4.0.