A problem occurs when using Notepad

Anonymous
2024-02-04T14:27:38+00:00

My Windows 11 system has been in normal use for nearly two years, but today, I suddenly found that my txt file cannot be opened normally with Notepad. Once opened, an error message like the first picture below will appear. It Says I have a dll file error.

So I first ran the "sfc /scannow" command in the terminal and detected that some areas could not be repaired. Then I found out that those areas could be repaired by running the "dism /online /cleanup-image /restorehealth" command. Then I waited for a long time. , after repairing it, I ran "sfc /scannow" and there was no error message. Then I tried to open Notepad, but the above error still appeared. Then I was very confused. Is it a problem with the software itself? So I ran the "Get-AppxPackage Microsoft.WindowsJournal | Remove-AppxPackage" command to uninstall the Notepad software, and then re-downloaded it from the Microsoft Store. After the download was completed, the above error message still appeared. Then I downloaded the dll checking tool and tried to check whether there was a problem with the dll. I found that there was a problem with the following library.

Then I repaired the above software again and found that it still didn't work.

So I tried uninstalling and reinstalling, but it still didn’t work.

I tried downloading everything I might need, as shown below, but it still didn't work and the error still occurred.

So I tried to use the latest feature of Windows 11 "Reinstall" (the one below)

After reinstalling, I excitedly opened Notepad, but an error still occurred, the same error as above.

I'm a little sad because I've spent a day trying to figure this out.

After that, I took a closer look at his path, which is the file "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33519.0_x64__8wekyb3d8bbwe\MSVCP140.dll". I think I deleted him directly, but the system prompted me that I didn't have permission. (And there seems to be a problem with the input board of this community. I can't paste some content into the text box with Ctrl+V. I don't know why. I can copy and paste normally)

Me I'm very confused. I don't know why this problem occurs? At the same time, the "Photos" software on my computer (which comes with Windows 11) cannot be opened normally. As soon as I open it, the photo box will pop up, which is all white, just like below

Then there was a problem with my edge browser. It couldn't open certain PDF files normally. Those files were blank after opening. I don't know why. I can open and display them normally with Google Chrome.

By the way, I suspect that the reason for all this is because I accidentally deleted some files in the C drive the day before yesterday. Because my C drive has started to turn red, I used Lenovo’s own cleaning tool to delete the files in the C drive. Some large text files that don't look important, and some video files that don't look important, and here's what my computer looks like today. Oh my God, I could still use it yesterday!😭😭😭

Well, a lot of questions came up today, thank God for adding some fun to my life!

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

26 answers

Sort by: Most helpful
  1. Anonymous
    2024-02-29T02:16:32+00:00

    没解决

    我查了一圈, 除了重装貌似没有别的方案了

    心累........

    0 comments No comments
  2. Anonymous
    2024-03-04T02:58:55+00:00

    我已经重装系统了,目前尝试了所有办法均不可行,只能重装系统

    0 comments No comments
  3. Anonymous
    2024-03-04T02:59:24+00:00

    是的,只能重装系统了

    0 comments No comments
  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. Anonymous
    2024-03-12T08:44:54+00:00

    我解决了,简单来说就是要去官网下载Microsoft.VCLibs.140.00.UWPDesktop_14.0,下载的版本可能不一样,但不要紧,用管理权限和power shell的指令是可以安装其他版本的,最后通过重命名文件夹的方式解决,重命名过程需要的权限是可以手动解决的。

    1 person found this answer helpful.
    0 comments No comments