我们都知道记事本(Notepad)所产生的革命性影响。虽然现在有无数的文本编辑器,每一个都比下一个更好,但微软自己预装的Windows记事(Windows)本(Notepad)是一切开始的地方。当某些东西与记事本(Notepad)一样长时,它自然会出现相当多的错误和问题。一些用户报告了一个问题,即他们无法(are not able to launch Notepad)从可执行的 .exe 文件启动记事本,或者他们的 Windows 11/10 PC 完全缺少记事本。(Notepad is missing)今天,我将演示如果您发现记事本丢失,如何在您的 PC 上恢复记事本。(Notepad)
修复(Fix Notepad)Windows 11/10 PC上缺少记事本
多亏了Microsoft ,这里的解决方法非常简单。他们现在已经在Windows上制作了(Windows)Notepad、Wordpad和Paint Optional等应用程序。这意味着现在可以在您希望的时候卸载和重新安装它们。不仅如此,记事本(Notepad)现在还拥有自己的Microsoft Store页面,因此人们可以独立于操作系统更新应用程序。这种变化是在这些应用程序在很长一段时间后预先安装并且无法从Windows PC(Windows PCs)中移除之后发生的。这是将记事本(Notepad)带回计算机的方法。
1]使用可选功能设置

我们的第一种方法将帮助您重新安装记事本(Notepad),以防它完全从您的计算机中丢失。如前所述,它现在已成为一项可选功能,因此只需按照以下步骤操作,您就可以在 PC 上恢复记事本:(Notepad)
- 单击(Click)开始并打开Windows(Start)设置(Windows Settings)
- 从那里的选项中,单击应用程序(Apps)并进一步选择可选功能(select Optional Features)
- 在这里,单击可选功能(Optional Features)页面顶部的添加功能按钮(Add)
- 在搜索字段中键入“记事本”,如果您的 PC 中缺少它,您会在其中找到它。
- 单击它并选择安装。
这将使您可以很好地使用记事本(Notepad)。如果上述方法对您不起作用,您也可以从Windows Store下载(Windows Store)记事本(Notepad),因为它现在已经有了一个位置。
2]使用DISM命令行

此方法适用于那些在其 PC 上安装了记事本但文件已因某种原因损坏而无法打开的用户。在这种情况下,建议使用此命令行卸载然后重新安装应用程序。
只需(Simply)以管理员身份打开命令提示符(Command Prompt)并粘贴以下代码即可卸载记事本(Notepad)。
dism /Online /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0
完成后,粘贴并输入以下代码以重新安装它:
dism /Online /add-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0
建议用户先运行卸载(Uninstall)命令并完成,否则重新安装(Reinstallation)将不干净。
这里要注意的另一件事是,此过程需要您有互联网连接,因为系统将通过Windows Update下载包。如果您脱机运行此命令,您将面临错误。
3]从Microsoft Store下载Windows记事本(Download Windows Notepad)
记事本在Microsoft Store(Microsoft Stor)中不可用,您可以下载并安装它。
如果您在使用WordPad(WordPad)时遇到同样的错误,请按照上述相同的步骤操作;从可选功能(Optional Features)中搜索WordPad或将Notepad替换为WordPad。这篇文章将向您展示如何重新安装写字板(how to reinstall WordPad)。
相关(Related): PC 的免费记事本替换软件(Free Notepad replacement software)。
我们希望这篇文章对您有所帮助,并且现在使用记事本(Notepad)没有任何问题。
WordPad or Notepad is missing in Windows 11/10
We’re аll awаre of the revolutionary impact Notepad has had. While there is an umpteen number of text editors these days, each one better than the next, Microsoft’s own pre-installed Notepad for Windows is where it all started. When something has been around for as long as Notepad has, it’s natural for it to have had its fair share of bugs and issues. Some users have reported an issue where they are not able to launch Notepad from the executable .exe file or that Notepad is missing altogether from their Windows 11/10 PC. Today, I’m going to demonstrate how you can bring back Notepad on your PC if you find it to be missing.
Fix Notepad is missing on Windows 11/10 PC
The workaround here is pretty simple, thanks to Microsoft. They have now made apps like Notepad, Wordpad, and Paint Optional features on Windows. This means that now they can be uninstalled and reinstalled as and when you wish to do so. Not only this but Notepad has now got a Microsoft Store page of its own, so people can update the app separately from the OS. This change has come after having these apps pre-installed and irremovable from Windows PCs after a long time. Here’s how you can bring Notepad back to your computer.
1] Using Optional Features settings

Our first method will help you reinstall Notepad, in case it is missing entirely from your computer. As already mentioned it has now been made an optional feature so simply follow the steps below and you’ll get Notepad back on your PC:
- Click on Start and open the Windows Settings
- From the options present there, click on Apps and further select Optional Features
- Here, click on the Add a feature button at the top of the Optional Features page
- Type ‘Notepad’ in the search field and if it’s missing from your PC, you’ll find it listed there.
- Click on it and select Install.
This shall have you set up working with Notepad just fine. If the above method doesn’t work for you, you can download Notepad from the Windows Store too since it has got a place there now.
2] Using the DISM-command line

This method is for those who have Notepad on their PC but the file has somehow been corrupted and thus, they’re not able to open it. In this case, it is advisable to uninstall and then reinstall the app using this command line.
Simply open the Command Prompt as administrator and paste the following code to uninstall Notepad.
dism /Online /Remove-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0
Once completed, paste and enter the following code to reinstall it:
dism /Online /add-Capability /CapabilityName:Microsoft.Windows.Notepad~~~~0.0.1.0
It is recommended for users to run the Uninstall command first and to completion, otherwise, the Reinstallation won’t be clean.
Another thing to note here is that this process requires you to have an internet connection since the system will download the package via Windows Update. You’ll face an error if you run this command offline.
3] Download Windows Notepad from Microsoft Store
Notepad is not available in the Microsoft Store and you can download and install it.
If you face the same error with WordPad, then follow the same steps as above; search for WordPad from the Optional Features or replace Notepad with WordPad. This post will show you how to reinstall WordPad.
Related: Free Notepad replacement software for PC.
We hope you found this post helpful and are now having no troubles using Notepad.