Notepad is probably the most stable of all the programs and apps on Windows 11. I can't remember a time when I have ever had an issue with it, and I don't know anyone else who has either. But if you are one of the super unlucky people who is getting File system error (-2143322111) when you try to open a .txt document on Windows using Notepad. This article will show you a few different things you can do to fix it.
Takeaways:
- Is there a quick way to fix Can’t Open TXT Files Due to File System Error (-2143322111) on Windows 11.
- What keeps causing File System Error (-2143322111) when opening files using Notepad on Windows 11.
Table of Contents
How to Fix Can’t Open TXT Files Due to File System Error (-2143322111) on Windows 11
Opening a document using Notepad bypasses the default application association used by File Explorer, which can help you figure out if the problem is related to Notepad or the way Windows opens .txt files.
- Open the Start menu, search for Notepad, and launch the app.
- Press Ctrl + O or select File > Open.
- Browse to the folder containing your .txt document.
- Select the file and click Open.
If the document opens without any drama, the issue isn't with the file or Notepad but instead something connected to the way Windows deals with things. More than likely, there is a corrupt file lurking in system files.
Change the Default App for TXT Files
If opening the document directly works but double-clicking it produces the error, you can try changing the default application:
- Open Settings > Apps > Default apps.
- Search for .txt in the file-type search box.
- Select the currently assigned application.
- Choose Notepad and confirm the change if prompted.
- Try opening the document again from File Explorer.
If there are still problems, right-click the file, click Open with, and try another text editor that's installed on your computer. If you don't have one, you can try Notepad++, but you'll need to download and install it first.
Update Notepad Through the Microsoft Store
You can try manually updating Notepad via the Microsoft Store, though 99.9% of people will find Notepad is always up to date anyway. But it's worth a quick look.
- Connect to the internet and open the Microsoft Store.
- Select your profile icon and sign in if requested.
- Open Library and select Get updates.
- Install any available updates for Notepad and Microsoft Store.
- Open Settings > Windows Update and install pending updates.
- Restart your computer if required, then test Notepad again.
Run the Notepad Repair Option
Since nothing has worked so far, you'll need to Repair Notepad to fix any random problems that have crept in.
- Open Settings > Apps > Installed apps.
- Find Notepad and select its three-dot menu.
- Choose Advanced options.
- Select Repair and wait for the process to finish.
- Open Notepad and test the affected document.
If the Repair option doesn't work, go back to the same location and choose the option to Reset Notepad instead. This will drag it back to default settings.
Run the System File Checker (SFC Command)
Since nothing has worked so far, there's a good chance that the problem is with a core component of Windows rather than Notepad, so run the SFC command. Once the SFC tool has been completed, you will also need to run the DISM tool.
- First, type CMD into the Start menu, then right-click Command Prompt and choose Run as administrator.
- When you have Command Prompt open, type the following command into Command Prompt and press Enter.
sfc /scannow

It may take some time to finish, so go make yourself a beverage and wait. If any errors are found, they should be repaired automatically. If it doesn’t complete properly Restart your computer in Safe Mode and repeat the process. If the SFC tool returned an error message, open Command Prompt as Administrator, then enter the following commands in order.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
