When you right-click on the desktop and click “New,” the New menu may not contain the “Text Document” option on your Windows 11 computer. This article tells you how to bring the “Text Document” option back.
Restore Missing “Text Document” to the New menu
To add “Text Document” to the New menu, follow these steps:
- Start Regedit.exe and go to:
HKEY_CLASSES_ROOT\.txt
- Create a subkey named “ShellNew” if it doesn’t already exist.
- Select the “ShellNew” key and create the following string values (REG_SZ) in the right pane.
"NullFile" "ItemName"
- Leave the data for NullFile empty.
- Double-click ItemName and set “Text Document” as its value data.
- Exit the Registry Editor.
- Log off and log back in for the changes to take effect.
REG file to automate the above settings
To automate the above steps, download txt_shellnew_windows_11.reg and run it.
FYI, here’s what the REG file contains:
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\.txt\ShellNew] [HKEY_CLASSES_ROOT\.txt\ShellNew] "NullFile"="" "ItemName"="Text Document"
Uninstall and Reinstall Notepad
If the above registry edit doesn’t help, try uninstalling Notepad using PowerShell and reinstalling it via Microsoft Store.
- From admin PowerShell, run the following command:
Get-AppXPackage Microsoft.WindowsNotepad -allusers | remove-appxpackage -allusers
- Open Microsoft Store, search for Windows Notepad and install it.
Windows Notepad - Microsoft Store Apps: https://apps.microsoft.com/store/detail/windows-notepad/9MSMLRH6LZF3
You should now see the “Text Document” entry in the New menu.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Thanks very much. Very useful.