1. In Windows 10, the system right-click menu -> New -> lacks the “New Text Document” option. It disappeared after my family used the computer for a while, as shown in Figure 1.

2. Reference URL: https://answers.microsoft.com/zh-hans/windows/forum/windows_7-desktop/%E7%B3%BB%E7%BB%9F%E5%8F%B3%E9%94%AE%E6%96%B0/8ba81d6b-24bf-4655-afc1-3d0651013087
3. Click Start, type notepad in the “Start Search” box, and open Notepad2, as shown in Figure 2.

4. Copy and paste the following content into the open Notepad file, and save this file as a .reg file, as shown in Figure 3.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt]
@="txtfile"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
[HKEY_CLASSES_ROOT\txtfile\shell]
[HKEY_CLASSES_ROOT\txtfile\shell\open]
[HKEY_CLASSES_ROOT\txtfile\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
5. Double-click this file. When prompted whether to import registry information, click “Yes”, as shown in Figure 4.

6. The Registry Editor displays a success message, as shown in Figure 5.

7. The “New Text Document” option is now back in the menu, as shown in Figure 6.

