Hello Bonez56,
Glad to see you in Microsoft Community.
Let me help you troubleshoot Notepad not working properly.
Firstly, did you have any special operations before this exception occurs? Such as installing Windows updates or hardware changes, etc. If there is, please describe it in detail, or take a screenshot, and only send the relevant information without PII in the next reply.
And here are my tips for you.
1. Reinstall Notepad
Win + I to open Windows Settings > Apps > Optional features*, enter "notepad" in the search box under Installed features. Then click "Notepad(system)" > "Uninstall" in the search results, restart the system and enter the same interface, click "Add a feature", enter "notepad" in the search box, and then check "Notepad" in the search results, and then click Install.*
2. Repair possible corrupted system files
Run the following commands to fix possible corrupted system files. Run Command Prompt as an administrator ("Win" logo key + "Q", enter "cmd", select "Run as administrator"), and enter the following commands one by one. These commands require network support, please keep your network stable and smooth.
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
for %i in (%windir%\\system32\\*.dll) do regsvr32.exe /s %i
chkdsk C: /f
| Disclaimer*: Running* chkdsk can check the file system and file system metadata of a volume for logical and physical errors. To avoid any trouble for you, please follow them step-by-step, do not cancel or interrupt chkdsk*, and back up important data. For more information please refer to this* chkdsk article. |
|---|
3. Clean boot
I noticed that you have installed Notepad++. The same type of apps may cause unexpected conflicts, so you can perform a clean boot, this is a mode of disabling third-party services or software, which could help rule out the interference of these elements.
| Disclaimer*: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.*<br><br>These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by-step so that it will help you get you back on track. |
|---|
If anything is unclear, please feel free to leave your messages here.
Best Regards,
Mosken_L - MSFT | Microsoft Community Support Specialist